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

Unified Diff: tests/language_strong/not_enough_positional_arguments_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (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
« no previous file with comments | « tests/language_strong/no_such_constructor_test.dart ('k') | tests/language_strong/null_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ea50a09702c5a132ebb01e3fea6debf0d93761c7..33cffcd1046c722bd4ea153ee58305445099d9fe 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
}
« no previous file with comments | « tests/language_strong/no_such_constructor_test.dart ('k') | tests/language_strong/null_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698