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

Unified Diff: tests/language/compile_time_constant_c_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/compile_time_constant_c_test.dart
diff --git a/tests/language/compile_time_constant_c_test.dart b/tests/language/compile_time_constant_c_test.dart
index 7771ae94f840afe4c82748405017211cc078ace2..9850f0dc14545a8a4ea4c96bace16724727952ec 100644
--- a/tests/language/compile_time_constant_c_test.dart
+++ b/tests/language/compile_time_constant_c_test.dart
@@ -6,13 +6,13 @@ const m0 = const {
499: 400 + 99
};
const m1 = const {
- "foo" + "bar": 42 /// 01: ok
+ "foo" + "bar": 42 //# 01: ok
};
const m2 = const {
- "foo" * 4: 42 /// 02: compile-time error
+ "foo" * 4: 42 //# 02: compile-time error
};
const m3 = const {
- "foo".codeUnitAt(0): 42 /// 03: compile-time error
+ "foo".codeUnitAt(0): 42 //# 03: compile-time error
};
use(x) => x;

Powered by Google App Engine
This is Rietveld 408576698