Index: tests/language/first_class_types_test.dart |
diff --git a/tests/language/first_class_types_test.dart b/tests/language/first_class_types_test.dart |
index 82c128ff13101cd305962c8c58538b8192a55b8e..5db1e5462bf99418153c8fa088197115381c6715 100644 |
--- a/tests/language/first_class_types_test.dart |
+++ b/tests/language/first_class_types_test.dart |
@@ -5,9 +5,7 @@ |
class C<T> {} |
sameType(a, b) { |
- print("a: ${a.runtimeType}"); |
- print("b: ${b.runtimeType}"); |
- Expect.isTrue(a.runtimeType === b.runtimeType); |
+ Expect.identical(a.runtimeType, b.runtimeType); |
} |
differentType(a, b) { |
@@ -17,6 +15,7 @@ differentType(a, b) { |
} |
main() { |
+ // Test types obtained by calling runtimeType. |
var v1 = new C<int>(); |
var v2 = new C<int>(); |
sameType(v1, v2); |