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

Unified Diff: tests/language_strong/identical_const_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/identical_const_test.dart
diff --git a/tests/language_strong/identical_const_test.dart b/tests/language_strong/identical_const_test.dart
index cd96244823b2811750cb1426f888b30d3a69a576..17324f33de618a3ee9219252029eb3b938cc3a52 100644
--- a/tests/language_strong/identical_const_test.dart
+++ b/tests/language_strong/identical_const_test.dart
@@ -14,13 +14,13 @@ const identical_gg = identical(g, g);
// Verify proper compile time computation of identical()
const a = const {
- identical_ff: 0, /// 01: static type warning
- identical_gg: 0, /// 02: static type warning
+ identical_ff: 0, //# 01: static type warning
+ identical_gg: 0, //# 02: static type warning
true: 0 };
const b = const {
- identical_fg: 0, /// 03: static type warning
- identical_gf: 0, /// 04: static type warning
+ identical_fg: 0, //# 03: static type warning
+ identical_gf: 0, //# 04: static type warning
false: 0 };
use(x) => x;
@@ -30,8 +30,8 @@ main() {
use(b);
// Verify proper run time computation of identical()
- Expect.isTrue(identical_ff); /// 05: ok
- Expect.isTrue(identical_gg); /// 06: ok
- Expect.isFalse(identical_fg); /// 07: ok
- Expect.isFalse(identical_gf); /// 08: ok
+ Expect.isTrue(identical_ff); //# 05: ok
+ Expect.isTrue(identical_gg); //# 06: ok
+ Expect.isFalse(identical_fg); //# 07: ok
+ Expect.isFalse(identical_gf); //# 08: ok
}

Powered by Google App Engine
This is Rietveld 408576698