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

Unified Diff: tests/language_strong/assign_to_type_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/assign_to_type_test.dart
diff --git a/tests/language_strong/assign_to_type_test.dart b/tests/language_strong/assign_to_type_test.dart
index 97da693b6eb41d872a74379a9dc73e7492e9d004..7ecd74b09f43a922cba5e763a0a482236fc013f2 100644
--- a/tests/language_strong/assign_to_type_test.dart
+++ b/tests/language_strong/assign_to_type_test.dart
@@ -11,7 +11,7 @@ noMethod(e) => e is NoSuchMethodError;
class C<T> {
f() {
- Expect.throws(() => T = null, noMethod); /// 01: static type warning
+ Expect.throws(() => T = null, noMethod); //# 01: static type warning
}
}
@@ -23,7 +23,7 @@ typedef void F();
main() {
new C<D>().f();
- Expect.throws(() => D = null, noMethod); /// 02: static type warning
- Expect.throws(() => E = null, noMethod); /// 03: static type warning
- Expect.throws(() => F = null, noMethod); /// 04: static type warning
+ Expect.throws(() => D = null, noMethod); //# 02: static type warning
+ Expect.throws(() => E = null, noMethod); //# 03: static type warning
+ Expect.throws(() => F = null, noMethod); //# 04: static type warning
}

Powered by Google App Engine
This is Rietveld 408576698