File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 3
3
// BSD-style license that can be found in the LICENSE file.
4
4
5
5
@TestOn ('vm' )
6
- import 'package:build/experiments.dart' ;
7
6
import 'package:json_serializable/json_serializable.dart' ;
8
7
import 'package:path/path.dart' as p;
9
8
import 'package:source_gen_test/source_gen_test.dart' ;
10
9
import 'package:test/test.dart' ;
11
10
12
11
Future <void > main () async {
13
12
initializeBuildLogTracking ();
14
- final reader = await withEnabledExperiments (
15
- () => initializeLibraryReaderForDirectory (
16
- p.join ('test' , 'src' ),
17
- '_json_serializable_test_input.dart' ,
18
- ),
19
- ['non-nullable' ],
13
+ final reader = await initializeLibraryReaderForDirectory (
14
+ p.join ('test' , 'src' ),
15
+ '_json_serializable_test_input.dart' ,
20
16
);
21
17
22
18
testAnnotatedElements (
You can’t perform that action at this time.
0 commit comments