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

Unified Diff: tests/language_strong/call_nonexistent_static_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/call_nonexistent_static_test.dart
diff --git a/tests/language_strong/call_nonexistent_static_test.dart b/tests/language_strong/call_nonexistent_static_test.dart
index b97b54278f3f854279e62f8e5d6ab07edacaf22c..7118f889c31b56412a7c2a6d2b02d20755de576b 100644
--- a/tests/language_strong/call_nonexistent_static_test.dart
+++ b/tests/language_strong/call_nonexistent_static_test.dart
@@ -10,12 +10,12 @@ import "package:expect/expect.dart";
class C {}
class D {
- get hest => 1; /// 04: continued
- set hest(val) {} /// 05: continued
+ get hest => 1; //# 04: continued
+ set hest(val) {} //# 05: continued
}
-get fisk => 2; /// 09: continued
-set fisk(val) {} /// 10: continued
+get fisk => 2; //# 09: continued
+set fisk(val) {} //# 10: continued
expectNsme([void fun()]) {
if (fun != null) {
@@ -28,75 +28,75 @@ alwaysThrows() {
}
test01() {
- C.hest = 1; /// 01: static type warning
+ C.hest = 1; //# 01: static type warning
}
test02() {
- C.hest; /// 02: static type warning
+ C.hest; //# 02: static type warning
}
test03() {
- C.hest(); /// 03: static type warning
+ C.hest(); //# 03: static type warning
}
test04() {
- D.hest = 1; /// 04: static type warning
+ D.hest = 1; //# 04: static type warning
}
test05() {
- D.hest; /// 05: static type warning
+ D.hest; //# 05: static type warning
}
test06() {
- fisk = 1; /// 06: static type warning
+ fisk = 1; //# 06: static type warning
}
test07() {
- fisk; /// 07: static type warning
+ fisk; //# 07: static type warning
}
test08() {
- fisk(); /// 08: static type warning
+ fisk(); //# 08: static type warning
}
test09() {
- fisk = 1; /// 09: static type warning
+ fisk = 1; //# 09: static type warning
}
test10() {
- fisk; /// 10: static type warning
+ fisk; //# 10: static type warning
}
main() {
expectNsme(alwaysThrows);
expectNsme(
- test01 /// 01: continued
+ test01 //# 01: continued
);
expectNsme(
- test02 /// 02: continued
+ test02 //# 02: continued
);
expectNsme(
- test03 /// 03: continued
+ test03 //# 03: continued
);
expectNsme(
- test04 /// 04: continued
+ test04 //# 04: continued
);
expectNsme(
- test05 /// 05: continued
+ test05 //# 05: continued
);
expectNsme(
- test06 /// 06: continued
+ test06 //# 06: continued
);
expectNsme(
- test07 /// 07: continued
+ test07 //# 07: continued
);
expectNsme(
- test08 /// 08: continued
+ test08 //# 08: continued
);
expectNsme(
- test09 /// 09: continued
+ test09 //# 09: continued
);
expectNsme(
- test10 /// 10: continued
+ test10 //# 10: continued
);
}

Powered by Google App Engine
This is Rietveld 408576698