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

Unified Diff: tests/compiler/dart2js_extra/23486_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/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 41fcf2d4b8b60793fd7369a8a3bc8c4d276fdcba..bc1a34210063640b010e6284833679d988253a5d 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
Emily Fortuna 2017/03/21 00:49:05 Are you going to also adjust the whitespace in the
Jacob 2017/03/21 00:58:18 A separate even more awesome CL is fixing all the
+ Expect.throws(() => new D.name()); //# 02: continued
+ Expect.throws(() => (p).x); //# 03: compile-time error
}

Powered by Google App Engine
This is Rietveld 408576698