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

Unified Diff: tests/language_strong/type_promotion_assign_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/type_promotion_assign_test.dart
diff --git a/tests/language_strong/type_promotion_assign_test.dart b/tests/language_strong/type_promotion_assign_test.dart
index 51f0ee5d4b7dc8141fabeec913d56a1da7fbf2bf..d928fd2449c8df0e5edc4c48cb3a6bad7f38b427 100644
--- a/tests/language_strong/type_promotion_assign_test.dart
+++ b/tests/language_strong/type_promotion_assign_test.dart
@@ -27,21 +27,21 @@ void main() {
A a = new E();
if (a is B) {
print(a.a);
- print(a.b); /// 01: static type warning
+ print(a.b); //# 01: static type warning
a = null;
}
if (a is B) {
a = null;
print(a.a);
- print(a.b); /// 02: static type warning
+ print(a.b); //# 02: static type warning
}
if (a is B) {
print(a.a);
- print(a.b); /// 03: static type warning
+ print(a.b); //# 03: static type warning
{
a = null;
}
print(a.a);
- print(a.b); /// 04: static type warning
+ print(a.b); //# 04: static type warning
}
}

Powered by Google App Engine
This is Rietveld 408576698