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

Unified Diff: tests/language/bad_constructor_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/bad_constructor_test.dart
diff --git a/tests/language/bad_constructor_test.dart b/tests/language/bad_constructor_test.dart
index dea3b369ea463b23ab5ff5b75ab438fa31195559..eee5a29996a4495391fb3e1c0c4526406937409e 100644
--- a/tests/language/bad_constructor_test.dart
+++ b/tests/language/bad_constructor_test.dart
@@ -4,20 +4,20 @@
class A {
// Constructor may not be static.
- static A(); // /// 00: compile-time error
+ static A(); // //# 00: compile-time error
// Factory may not be static.
- static factory A() { return null; } // /// 01: compile-time error
+ static factory A() { return null; } // //# 01: compile-time error
// Named constructor may not conflict with names of methods and fields.
var m;
- A.m() { m = 0; } // /// 04: compile-time error
+ A.m() { m = 0; } // //# 04: compile-time error
set q(var value) { m = 0; } // No name conflict with q=.
- A.q(); // /// 05: ok
- A(); // /// 05: ok
+ A.q(); // //# 05: ok
+ A(); // //# 05: ok
- A.foo() : m = 0; // /// 06: compile-time error
+ A.foo() : m = 0; // //# 06: compile-time error
int foo(int a, int b) => a + b * m;
}
« no previous file with comments | « tests/language/await_backwards_compatibility_test.dart ('k') | tests/language/bad_named_parameters2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698