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

Unified Diff: tests/language_strong/override_method_with_field_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/override_method_with_field_test.dart
diff --git a/tests/language_strong/override_method_with_field_test.dart b/tests/language_strong/override_method_with_field_test.dart
index 77bd5655d8c0d102f37cf30efc808cf8761cc083..96ec21d4c3410681483783a27038e104d3f0dc56 100644
--- a/tests/language_strong/override_method_with_field_test.dart
+++ b/tests/language_strong/override_method_with_field_test.dart
@@ -15,7 +15,7 @@ class Super {
class Sub extends Super {
Sub() : super();
- var instanceMethod = 87; /// 01: compile-time error
+ var instanceMethod = 87; //# 01: compile-time error
superInstanceMethod() => super.instanceMethod();
}
@@ -26,6 +26,6 @@ main() {
Sub sub = s;
print(s.instanceMethod);
Expect.equals(42, s.superInstanceMethod());
- Expect.equals(42, sup.superInstanceMethod()); /// 02: static type warning
+ Expect.equals(42, sup.superInstanceMethod()); //# 02: static type warning
Expect.equals(42, sub.superInstanceMethod());
}

Powered by Google App Engine
This is Rietveld 408576698