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

Unified Diff: tests/language/getters_setters2_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/getter_parameters_test.dart ('k') | tests/language/getters_setters_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/getters_setters2_test.dart
diff --git a/tests/language/getters_setters2_test.dart b/tests/language/getters_setters2_test.dart
index 8f62f05dc0d6efd3d817393bd6e3efb3088907fb..7ce79f31a0cf2b0bc537117d94e1a3da9605bb41 100644
--- a/tests/language/getters_setters2_test.dart
+++ b/tests/language/getters_setters2_test.dart
@@ -29,7 +29,7 @@ class T2 {
A get field { return getterField; }
// Type C is not assignable to A
- void set field(C arg) { setterField = arg; } /// 01: static type warning
+ void set field(C arg) { setterField = arg; } //# 01: static type warning
}
class T3 {
@@ -42,12 +42,12 @@ class T3 {
main() {
T1 instance1 = new T1();
- T2 instance2 = new T2(); /// 01: continued
+ T2 instance2 = new T2(); //# 01: continued
T3 instance3 = new T3();
instance1.field = new B();
A resultA = instance1.field;
- instance1.field = new A(); /// 03: dynamic type error
+ instance1.field = new A(); //# 03: dynamic type error
B resultB = instance1.field;
int result;
@@ -55,7 +55,7 @@ main() {
Expect.equals(37, result);
// Type 'A' has no method named 'b'
- instance1.field.b(); /// 02: static type warning
+ instance1.field.b(); //# 02: static type warning
instance3.field = new B();
result = instance3.field.a();
« no previous file with comments | « tests/language/getter_parameters_test.dart ('k') | tests/language/getters_setters_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698