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

Unified Diff: tests/language/dynamic_field_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/dynamic2_test.dart ('k') | tests/language/dynamic_prefix_core_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/dynamic_field_test.dart
diff --git a/tests/language/dynamic_field_test.dart b/tests/language/dynamic_field_test.dart
index 5328471aacbf2c0ad070f284bf867a47b4b10491..557c6741f7d03f0445ea2efb44ad875f275c8600 100644
--- a/tests/language/dynamic_field_test.dart
+++ b/tests/language/dynamic_field_test.dart
@@ -13,12 +13,12 @@ class A extends C {
class C {
foo() {
- print(a); /// 01: static type warning
- return a; /// 01: continued
+ print(a); //# 01: static type warning
+ return a; //# 01: continued
}
bar() {
- print(b.a); /// 02: static type warning
- return b.a; /// 02: continued
+ print(b.a); //# 02: static type warning
+ return b.a; //# 02: continued
}
}
@@ -26,6 +26,6 @@ main() {
var a = new A();
a.a = 1;
a.b = a;
- Expect.equals(1, a.foo()); /// 01: continued
- Expect.equals(1, a.bar()); /// 02: continued
+ Expect.equals(1, a.foo()); //# 01: continued
+ Expect.equals(1, a.bar()); //# 02: continued
}
« no previous file with comments | « tests/language/dynamic2_test.dart ('k') | tests/language/dynamic_prefix_core_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698