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

Unified Diff: tests/language_strong/not_enough_positional_arguments_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/not_enough_positional_arguments_test.dart
diff --git a/tests/language_strong/not_enough_positional_arguments_test.dart b/tests/language_strong/not_enough_positional_arguments_test.dart
index 1070783550a12818a47cabf15ad5149b79a8f5e0..e4c6da8c2b26433dbbeadb42a939ae5a99f205f6 100644
--- a/tests/language_strong/not_enough_positional_arguments_test.dart
+++ b/tests/language_strong/not_enough_positional_arguments_test.dart
@@ -15,13 +15,13 @@ class A {
class B {
B()
- : super.test(b: 1) /// 01: runtime error
+ : super.test(b: 1) //# 01: runtime error
;
}
class C extends A {
C()
- : super.test(b: 1) /// 02: runtime error
+ : super.test(b: 1) //# 02: runtime error
;
}
@@ -32,16 +32,16 @@ class D {
class E extends D {
E()
- : super.test(b: 1) /// 05: runtime error
+ : super.test(b: 1) //# 05: runtime error
;
}
main() {
- new A.test(b: 1); /// 00: runtime error
+ new A.test(b: 1); //# 00: runtime error
new B();
new C();
- new D.test(b: 1); /// 03: runtime error
+ new D.test(b: 1); //# 03: runtime error
new E();
- foo(b: 1); /// 06: runtime error
- bar(b: 1); /// 07: runtime error
+ foo(b: 1); //# 06: runtime error
+ bar(b: 1); //# 07: runtime error
}

Powered by Google App Engine
This is Rietveld 408576698