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

Unified Diff: tests/language_strong/super_conditional_operator_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/super_conditional_operator_test.dart
diff --git a/tests/language_strong/super_conditional_operator_test.dart b/tests/language_strong/super_conditional_operator_test.dart
index 100a9a4c97925000d88e353decfde180b26f0334..52befc3854539502411d12a084445910cd14b005 100644
--- a/tests/language_strong/super_conditional_operator_test.dart
+++ b/tests/language_strong/super_conditional_operator_test.dart
@@ -13,27 +13,27 @@ class B {
class C extends B {
C()
- : super?.namedConstructor() /// 01: compile-time error
+ : super?.namedConstructor() //# 01: compile-time error
;
test() {
- super?.field = 1; /// 02: compile-time error
- super?.field += 1; /// 03: compile-time error
- super?.field ??= 1; /// 04: compile-time error
- super?.field; /// 05: compile-time error
- 1 * super?.field; /// 06: compile-time error
- -super?.field; /// 07: compile-time error
- ~super?.field; /// 08: compile-time error
- !super?.field; /// 09: compile-time error
- --super?.field; /// 10: compile-time error
- ++super?.field; /// 11: compile-time error
- super?.method(); /// 12: compile-time error
- 1 * super?.method(); /// 13: compile-time error
- -super?.method(); /// 14: compile-time error
- ~super?.method(); /// 15: compile-time error
- !super?.method(); /// 16: compile-time error
- --super?.method(); /// 17: compile-time error
- ++super?.method(); /// 18: compile-time error
+ super?.field = 1; //# 02: compile-time error
+ super?.field += 1; //# 03: compile-time error
+ super?.field ??= 1; //# 04: compile-time error
+ super?.field; //# 05: compile-time error
+ 1 * super?.field; //# 06: compile-time error
+ -super?.field; //# 07: compile-time error
+ ~super?.field; //# 08: compile-time error
+ !super?.field; //# 09: compile-time error
+ --super?.field; //# 10: compile-time error
+ ++super?.field; //# 11: compile-time error
+ super?.method(); //# 12: compile-time error
+ 1 * super?.method(); //# 13: compile-time error
+ -super?.method(); //# 14: compile-time error
+ ~super?.method(); //# 15: compile-time error
+ !super?.method(); //# 16: compile-time error
+ --super?.method(); //# 17: compile-time error
+ ++super?.method(); //# 18: compile-time error
}
}

Powered by Google App Engine
This is Rietveld 408576698