Skip to content

Commit

Permalink
Fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sigurdm committed Feb 8, 2024
1 parent 120b0db commit fea3c0e
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions test/tag/tag_end2end_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,12 @@ int fourtyTwo() => 42;
_expectTagging(tagger.sdkTags, tags: {'sdk:flutter', 'sdk:dart'});
_expectTagging(tagger.platformTags,
tags: {'platform:windows', 'platform:android'});
_expectTagging(tagger.runtimeTags,
tags: ['runtime:native-aot', 'runtime:native-jit', 'runtime:web']);
_expectTagging(tagger.runtimeTags, tags: [
'runtime:native-aot',
'runtime:native-jit',
'runtime:web',
'is:wasm-ready'
]);
_expectTagging(tagger.flutterPluginTags, tags: isEmpty);
});

Expand Down Expand Up @@ -407,7 +411,13 @@ Because:
finding: 'Package not compatible with runtime js', explanation: '''
Because:
* `package:my_package/my_package.dart` that imports:
* `dart:io`''')
* `dart:io`'''),
_explanation(
finding: 'Package not compatible with runtime wasm',
explanation: '''
Because:
* `package:my_package/my_package.dart` that imports:
* `dart:io`'''),
});
_expectTagging(tagger.flutterPluginTags, tags: isEmpty);
});
Expand Down Expand Up @@ -450,7 +460,12 @@ int fourtyThree() => 43;
},
explanations: isEmpty);
_expectTagging(tagger.runtimeTags,
tags: {'runtime:native-aot', 'runtime:native-jit', 'runtime:web'},
tags: {
'runtime:native-aot',
'runtime:native-jit',
'runtime:web',
'is:wasm-ready',
},
explanations: isEmpty);
_expectTagging(tagger.flutterPluginTags, tags: isEmpty);
});
Expand Down Expand Up @@ -508,6 +523,7 @@ name: my_package
'runtime:native-jit',
'runtime:native-aot',
'runtime:web',
'is:wasm-ready',
},
explanations: isEmpty);
_expectTagging(tagger.flutterPluginTags, tags: isEmpty);
Expand Down Expand Up @@ -537,6 +553,7 @@ name: my_package
'runtime:native-jit',
'runtime:native-aot',
'runtime:web',
'is:wasm-ready',
},
explanations: isEmpty);
_expectTagging(tagger.flutterPluginTags, tags: isEmpty);
Expand Down

0 comments on commit fea3c0e

Please sign in to comment.