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

Unified Diff: tests/language/bad_override_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/bad_override_test.dart
diff --git a/tests/language/bad_override_test.dart b/tests/language/bad_override_test.dart
index e388914cbfcebb5c7afef18ba10b3866789acdef..03dcdf1b90cc796288b5d01250cde7f3b0e4e0ec 100644
--- a/tests/language/bad_override_test.dart
+++ b/tests/language/bad_override_test.dart
@@ -4,10 +4,10 @@
class Fisk {
get fisk => null;
- static /// 01: static type warning
+ static //# 01: static type warning
set fisk(x) {}
- static /// 02: static type warning
+ static //# 02: static type warning
get hest => null;
set hest(x) {}
@@ -18,10 +18,10 @@ class Fisk {
}
class Hest extends Fisk {
- static foo() {} /// 03: compile-time error
- field() {} /// 04: compile-time error
- var method; /// 05: compile-time error
- nullary(x) {} /// 06: static type warning
+ static foo() {} //# 03: compile-time error
+ field() {} //# 04: compile-time error
+ var method; //# 05: compile-time error
+ nullary(x) {} //# 06: static type warning
}
main() {

Powered by Google App Engine
This is Rietveld 408576698