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

Unified Diff: tests/language_strong/field_override_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (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
« no previous file with comments | « tests/language_strong/field_override4_test.dart ('k') | tests/language_strong/field_type_check2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c298a83cd5909b39d3726105d86233a9ddcb4130..4c6e96f2487ad240955405cc70ca210a40265c00 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();
« no previous file with comments | « tests/language_strong/field_override4_test.dart ('k') | tests/language_strong/field_type_check2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698