Index: tests/language/dynamic_prefix_core_test.dart |
diff --git a/tests/language/dynamic_prefix_core_test.dart b/tests/language/dynamic_prefix_core_test.dart |
index 1aba87f3c789f95363328dbccfcf8179b3bcc5a0..4a5362a3aa64669d09267bde9a9104ed276ecc37 100644 |
--- a/tests/language/dynamic_prefix_core_test.dart |
+++ b/tests/language/dynamic_prefix_core_test.dart |
@@ -9,9 +9,9 @@ import "dart:core" as mycore; |
void main() { |
// Should still be available because it is not a member of dart:core. |
- Expect.isTrue(dynamic is Type); |
- |
- Expect.throws(() => mycore.dynamic is Type, |
- (e) => e is NoSuchMethodError, |
+ Expect.isTrue(dynamic is mycore.Type); |
+ |
+ Expect.throws(() => mycore.dynamic is mycore.Type, |
+ (e) => e is mycore.NoSuchMethodError, |
'dynamic is not a member of dart:core'); |
} |