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

Unified Diff: tests/language_strong/getter_override_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_strong/getter_override_test.dart
diff --git a/tests/language_strong/getter_override_test.dart b/tests/language_strong/getter_override_test.dart
index e61ecd7c2ce625512c4be1baedfed5fd5a7aeadd..bbcb49892929c47b38a309f0b28014791471d4c0 100644
--- a/tests/language_strong/getter_override_test.dart
+++ b/tests/language_strong/getter_override_test.dart
@@ -8,10 +8,10 @@
import "package:expect/expect.dart";
class A {
- var foo = 42; /// 00: compile-time error
- get foo => 42; /// 01: compile-time error
- foo() => 42; /// 02: compile-time error
- set foo(value) { } /// 03: static type warning
+ var foo = 42; //# 00: compile-time error
+ get foo => 42; //# 01: compile-time error
+ foo() => 42; //# 02: compile-time error
+ set foo(value) { } //# 03: static type warning
}
class B extends A {

Powered by Google App Engine
This is Rietveld 408576698