Index: tests/language/first_class_types_literals_test.dart |
diff --git a/tests/language/first_class_types_literals_test.dart b/tests/language/first_class_types_literals_test.dart |
index 9e8093f4d482d230dac875d4d06f074c57072cc1..360564e2da7ce405f9298b1fc8a3ebb15caf455f 100644 |
--- a/tests/language/first_class_types_literals_test.dart |
+++ b/tests/language/first_class_types_literals_test.dart |
@@ -12,16 +12,10 @@ sameType(a, b) { |
Expect.identical(a.runtimeType, b.runtimeType); |
} |
-differentType(a, b) { |
- print("a: ${a.runtimeType}"); |
- print("b: ${b.runtimeType}"); |
- Expect.isFalse(a.runtimeType === b.runtimeType); |
-} |
- |
main() { |
// Test type literals. |
Expect.identical(int, int); |
- Expect.isFalse(int === num); |
+ Expect.isFalse(identical(int, num)); |
Expect.identical(Foo, Foo); |
// Test that class literals return instances of Type. |