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

Unified Diff: tests/compiler/dart2js_extra/23486_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/compiler/dart2js_extra/23486_test.dart
diff --git a/tests/compiler/dart2js_extra/23486_test.dart b/tests/compiler/dart2js_extra/23486_test.dart
index 824a050dfb076a83768a5b9fcaf6a331b6c304c8..057facee1657e28c3525d0d1837f77b6a833bfad 100644
--- a/tests/compiler/dart2js_extra/23486_test.dart
+++ b/tests/compiler/dart2js_extra/23486_test.dart
@@ -16,7 +16,7 @@ class B {
class A extends B {
m() {
- (super).field = 1; /// 01: compile-time error
+ (super).field = 1; //# 01: compile-time error
}
}
@@ -27,12 +27,12 @@ class C {
class D extends C {
D() : super();
- D.name() : (super).name(); /// 02: compile-time error
+ D.name() : (super).name(); //# 02: compile-time error
}
main() {
- Expect.throws(new A().m); // /// 01: continued
- Expect.throws(() => new D.name()); /// 02: continued
- Expect.throws(() => (p).x); // /// 03: compile-time error
+ Expect.throws(new A().m); // //# 01: continued
+ Expect.throws(() => new D.name()); //# 02: continued
+ Expect.throws(() => (p).x); // //# 03: compile-time error
}

Powered by Google App Engine
This is Rietveld 408576698