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

Unified Diff: tests/language/constant_locals_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/constant_locals_test.dart
diff --git a/tests/language/constant_locals_test.dart b/tests/language/constant_locals_test.dart
index bd852407f9ea68dbecfe8ef09e4c8d922740965b..f506a02729f2bfdb518e80035a77d0e0afb20a14 100644
--- a/tests/language/constant_locals_test.dart
+++ b/tests/language/constant_locals_test.dart
@@ -7,13 +7,13 @@
import "package:expect/expect.dart";
void main() {
- const c1; /// 01: compile-time error
+ const c1; //# 01: compile-time error
const c2 = 0;
- const c3 = field; /// 02: compile-time error
- const c4 = finalField; /// 03: compile-time error
+ const c3 = field; //# 02: compile-time error
+ const c4 = finalField; //# 03: compile-time error
const c5 = constField;
- const c6 = method(); /// 04: compile-time error
- const c7 = new Class(); /// 05: compile-time error
+ const c6 = method(); //# 04: compile-time error
+ const c7 = new Class(); //# 05: compile-time error
const c8 = const Class();
}

Powered by Google App Engine
This is Rietveld 408576698