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

Unified Diff: tests/language_strong/const_dynamic_type_literal_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 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/const_dynamic_type_literal_test.dart
diff --git a/tests/language_strong/const_dynamic_type_literal_test.dart b/tests/language_strong/const_dynamic_type_literal_test.dart
index a1be0f344209091857ac799ec01d4cb2e3ca1fa9..e35eea2164fe418ff181b4dc47cc57b761f1f94b 100644
--- a/tests/language_strong/const_dynamic_type_literal_test.dart
+++ b/tests/language_strong/const_dynamic_type_literal_test.dart
@@ -11,7 +11,7 @@ const d = dynamic;
const i = int;
void main() {
- Expect.isTrue(identical(d, dynamic)); /// 01: ok
- Expect.equals(1, const { d: 1, d: 2 }.length); /// 02: static type warning
- Expect.equals(2, const { d: 1, i: 2 }.length); /// 03: ok
+ Expect.isTrue(identical(d, dynamic)); //# 01: ok
+ Expect.equals(1, const { d: 1, d: 2 }.length); //# 02: static type warning
+ Expect.equals(2, const { d: 1, i: 2 }.length); //# 03: ok
}

Powered by Google App Engine
This is Rietveld 408576698