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

Unified Diff: tests/language/compile_time_constant10_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_constant10_test.dart
diff --git a/tests/language/compile_time_constant10_test.dart b/tests/language/compile_time_constant10_test.dart
index a29cb8ac9a6d24f4cb392f9bbd29a2cd36e3a888..7f8f6a79c81b9201be0edea157f872690aa4ebb9 100644
--- a/tests/language/compile_time_constant10_test.dart
+++ b/tests/language/compile_time_constant10_test.dart
@@ -86,14 +86,14 @@ const falseTests = const [
];
// Not a constant if it's not written 'identical'.
-const idtest = id(i1, i2); /// 01: compile-time error
+const idtest = id(i1, i2); //# 01: compile-time error
// Not a constant if aliased? (Current interpretation, waiting for
// confirmation).
-class T { /// 02: compile-time error
- static const identical = id; /// 02: continued
- static const idtest2 = identical(i1, i2); /// 02: continued
-} /// 02: continued
+class T { //# 02: compile-time error
+ static const identical = id; //# 02: continued
+ static const idtest2 = identical(i1, i2); //# 02: continued
+} //# 02: continued
main() {
for (int i = 0; i < trueTests.length; i++) {
@@ -103,7 +103,7 @@ main() {
falseTests[i].test(Expect.isFalse, "false[$i]");
}
- var x = idtest; /// 01: continued
- var x = T.idtest2; /// 02: continued
+ var x = idtest; //# 01: continued
+ var x = T.idtest2; //# 02: continued
}

Powered by Google App Engine
This is Rietveld 408576698