Switch to assemble API for dart2js (#41447)

This commit is contained in:
Jonah Williams
2019-09-30 18:26:28 -07:00
committed by GitHub
parent 3df57a71b7
commit ccc3dd968c
16 changed files with 667 additions and 331 deletions

View File

@@ -282,10 +282,9 @@ Future<void> _runBuildTests() async {
}
// Web compilation tests.
await _flutterBuildDart2js(path.join('dev', 'integration_tests', 'web'), path.join('lib', 'main.dart'));
// Should fail to compile with dart:io.
// Should not fail to compile with dart:io.
await _flutterBuildDart2js(path.join('dev', 'integration_tests', 'web_compile_tests'),
path.join('lib', 'dart_io_import.dart'),
expectNonZeroExit: true,
);
print('${bold}DONE: All build tests successful.$reset');