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

Unified Diff: tests/language_strong/checked_setter3_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/checked_setter3_test.dart
diff --git a/tests/language_strong/checked_setter3_test.dart b/tests/language_strong/checked_setter3_test.dart
index 2af3a0dd152aa70c69a460d38440e369f9697f06..21585f6e5e237f16ab5e5ca1fb02c10181c39dcc 100644
--- a/tests/language_strong/checked_setter3_test.dart
+++ b/tests/language_strong/checked_setter3_test.dart
@@ -19,11 +19,11 @@ class A<T> {
}
class B<T> {
- T field = 42; /// 01: static type warning
+ T field = 42; //# 01: static type warning
}
class C<T> {
- T field = 42; /// 02: static type warning
+ T field = 42; //# 02: static type warning
}
main() {
@@ -33,11 +33,11 @@ main() {
var s = 'foo';
if (inCheckedMode) {
Expect.throws(() => a.field = i, (e) => e is TypeError);
- Expect.throws(() => new B<String>(), (e) => e is TypeError); /// 01: continued
- Expect.throws(() => c.field = s, (e) => e is TypeError); /// 02: continued
+ Expect.throws(() => new B<String>(), (e) => e is TypeError); //# 01: continued
+ Expect.throws(() => c.field = s, (e) => e is TypeError); //# 02: continued
} else {
a.field = i;
- new B<String>(); /// 01: continued
- c.field = s; /// 02: continued
+ new B<String>(); //# 01: continued
+ c.field = s; //# 02: continued
}
}

Powered by Google App Engine
This is Rietveld 408576698