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

Unified Diff: tests/language_strong/getter_override2_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_override2_test.dart
diff --git a/tests/language_strong/getter_override2_test.dart b/tests/language_strong/getter_override2_test.dart
index 0fc4c5aff58a9405b427a98b7447a6356bdcc6e6..44d9f120ccebfb60ef1b312ea63fa8eb1a9d7f04 100644
--- a/tests/language_strong/getter_override2_test.dart
+++ b/tests/language_strong/getter_override2_test.dart
@@ -9,10 +9,10 @@ import "package:expect/expect.dart";
import "package:meta/meta.dart" show virtual;
class A {
- @virtual var foo = 42; /// 00: ok
- get foo => 42; /// 01: ok
- foo() => 42; /// 02: compile-time error
- set foo(value) { } /// 03: ok
+ @virtual var foo = 42; //# 00: ok
+ get foo => 42; //# 01: ok
+ foo() => 42; //# 02: compile-time error
+ set foo(value) { } //# 03: ok
}
class B extends A {

Powered by Google App Engine
This is Rietveld 408576698