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

Unified Diff: tests/language_strong/compile_time_constant10_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (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/compile_time_constant10_test.dart
diff --git a/tests/language_strong/compile_time_constant10_test.dart b/tests/language_strong/compile_time_constant10_test.dart
index a7a687f28de282b4b01748eb3bfc35c4a639014f..6d61278b050d89fb8f084e67ef2c3324bac52a37 100644
--- a/tests/language_strong/compile_time_constant10_test.dart
+++ b/tests/language_strong/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
}
« no previous file with comments | « tests/language_strong/code_after_try_is_executed_test.dart ('k') | tests/language_strong/compile_time_constant13_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698