File tree 2 files changed +3
-3
lines changed
test/general.shard/android
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import 'dart/package_map.dart';
17
17
/// They are escaped in Kotlin files.
18
18
///
19
19
/// https://kotlinlang.org/docs/keyword-reference.html
20
- const List <String > kReservedKotlinKeywords = < String > ['when' , 'in' ];
20
+ const List <String > kReservedKotlinKeywords = < String > ['when' , 'in' , 'is' ];
21
21
22
22
/// Expands templates in a directory to a destination. All files that must
23
23
/// undergo template expansion should end with the '.tmpl' extension. All files
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ void main() {
36
36
);
37
37
38
38
final Map <String , Object > context = < String , Object > {
39
- 'androidIdentifier' : 'in.when.there' ,
39
+ 'androidIdentifier' : 'is. in.when.there' ,
40
40
};
41
41
template.render (destination, context);
42
42
43
43
final File destinationFile = destination.childFile (outputClass);
44
- expect (destinationFile.readAsStringSync (), equals ('package `in`.`when`.there;' ));
44
+ expect (destinationFile.readAsStringSync (), equals ('package `is`.` in`.`when`.there;' ));
45
45
});
46
46
47
47
}
You can’t perform that action at this time.
0 commit comments