Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Unified Diff: tests/language_strong/runtime_type_test.dart

Issue 2962263002: fix #30030, fix #27327 - fix tearoffs and various Object member bugs (Closed)
Patch Set: fix Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language_strong/runtime_type_test.dart
diff --git a/tests/language_strong/runtime_type_test.dart b/tests/language_strong/runtime_type_test.dart
index f0b66db02bddad945a6556910b9743c7cdb233d4..856679a137e974c06850f277ff0aec7fb13e5295 100644
--- a/tests/language_strong/runtime_type_test.dart
+++ b/tests/language_strong/runtime_type_test.dart
@@ -33,4 +33,7 @@ main() {
Expect.isTrue(null.runtimeType is Type);
Expect.equals(Null, null.runtimeType);
+
+ Expect.equals([].runtimeType.toString(), 'List');
+ Expect.equals((<int>[]).runtimeType.toString(), 'List<int>');
}
« no previous file with comments | « tests/language_strong/no_such_method_native_test.dart ('k') | tests/language_strong/tearoff_dynamic_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698