Chromium Code Reviews| Index: tests/compiler/dart2js/library_resolution_test.dart |
| diff --git a/tests/compiler/dart2js/library_resolution_test.dart b/tests/compiler/dart2js/library_resolution_test.dart |
| index 2482ccae8f21fe8eff4f705b0c24b30d7076a448..aecf827d6cf61807f1ae151df6f0769a60601d45 100644 |
| --- a/tests/compiler/dart2js/library_resolution_test.dart |
| +++ b/tests/compiler/dart2js/library_resolution_test.dart |
| @@ -21,6 +21,8 @@ import 'package:compiler/src/diagnostics/messages.dart' |
| import 'package:compiler/src/elements/elements.dart' show LibraryElement; |
| +import 'package:compiler/src/library_loader.dart' show LoadedLibraries; |
| + |
| import 'package:compiler/src/null_compiler_output.dart' show NullCompilerOutput; |
| import 'package:compiler/src/old_to_new_api.dart' |
| @@ -71,7 +73,7 @@ main() async { |
| } |
| } |
| - checkLibrary(LibraryElement library) { |
| + checkLibrary(LoadedLibraries libraries) { |
|
Siggi Cherem (dart-lang)
2017/03/24 17:40:28
checkLibrary => checkLibraries?
Emily Fortuna
2017/03/24 18:30:20
Done.
|
| Expect.equals(1, actualMessageCount); |
| } |
| @@ -86,9 +88,9 @@ main() async { |
| // TODO(het): Find cleaner way to do this |
| compiler.resolvedUriTranslator.sdkLibraries['m_o_c_k_1'] = mock1LibraryUri; |
| compiler.resolvedUriTranslator.sdkLibraries['m_o_c_k_2'] = mock2LibraryUri; |
| - var library = |
| + var libraries = |
| await compiler.libraryLoader.loadLibrary(Uri.parse("dart:m_o_c_k_1")); |
| - await checkLibrary(library); |
| + await checkLibrary(libraries); |
| asyncSuccess(null); |
| } |