Skip to content

Commit 44821ba

Browse files
Update templates/dart/test/src/exception_test.dart.twig
Co-authored-by: Steven <[email protected]>
1 parent 2938bee commit 44821ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/dart/test/src/exception_test.dart.twig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import 'package:{{language.params.packageName}}/src/exception.dart';
2+
{% if 'dart' in language.params.packageName %}
3+
import 'package:test/test.dart';
4+
{% else %}
25
import 'package:flutter_test/flutter_test.dart';
6+
{% endif %}
37

48
void main() {
59
group('{{spec.title | caseUcfirst}}Exception', () {

0 commit comments

Comments
 (0)