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

Unified Diff: tests/language_strong/field_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/field_override_test.dart
diff --git a/tests/language_strong/field_override_test.dart b/tests/language_strong/field_override_test.dart
index 2d3bc5a5d9d40ab063069ef7d85e7cb63ebf3811..5d54500a288b9d10f2152be2e9d033a49266b441 100644
--- a/tests/language_strong/field_override_test.dart
+++ b/tests/language_strong/field_override_test.dart
@@ -26,13 +26,13 @@ class SubSub extends Super {
SubSub() : super();
// B2 not assignable to B1
- B2 field; /// 01: static type warning
+ B2 field; //# 01: static type warning
}
main() {
SubSub val1 = new SubSub();
- val1.field = new B2(); /// 02: static type warning, dynamic type error
- Expect.equals(true, val1.field is B2); /// 02: continued
+ val1.field = new B2(); //# 02: static type warning, dynamic type error
+ Expect.equals(true, val1.field is B2); //# 02: continued
Sub val2 = new Sub();
val2.field = new A();

Powered by Google App Engine
This is Rietveld 408576698