Skip to content

Commit

Permalink
Bump min SDK used in language version test to 2.12 (#606)
Browse files Browse the repository at this point in the history
Fixes #605
  • Loading branch information
kevmoo authored Jun 3, 2022
1 parent cdb036b commit 8eea613
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source_gen/test/builder_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,13 @@ void main() {
header: '',
),
{
'$_pkgName|lib/a.dart': '''// @dart=2.9
'$_pkgName|lib/a.dart': '''// @dart=2.12
part "a.foo.dart";'''
},
generateFor: {'$_pkgName|lib/a.dart'},
outputs: {
'$_pkgName|lib/a.foo.dart':
decodedMatches(startsWith('// @dart=2.9\n')),
decodedMatches(startsWith('// @dart=2.12\n')),
},
);
});
Expand Down Expand Up @@ -514,7 +514,7 @@ part "a.foo.dart";'''
const CombiningBuilder(),
{
'$_pkgName|lib/a.dart': '''
// @dart=2.9
// @dart=2.12
library a;
part "a.g.dart";
''',
Expand All @@ -525,7 +525,7 @@ part "a.g.dart";
'$_pkgName|lib/a.g.dart': decodedMatches(
'''
// GENERATED CODE - DO NOT MODIFY BY HAND
// @dart=2.9
// @dart=2.12
part of a;
Expand Down

0 comments on commit 8eea613

Please sign in to comment.