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

Unified Diff: tests/language_strong/mixin_super_constructor_named_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/mixin_super_constructor_named_test.dart
diff --git a/tests/language_strong/mixin_super_constructor_named_test.dart b/tests/language_strong/mixin_super_constructor_named_test.dart
index 068108cba082b15613d5a8fd33e88df395c8d020..04644e4bfc2cfb5498a274cb76756f288ef60cee 100644
--- a/tests/language_strong/mixin_super_constructor_named_test.dart
+++ b/tests/language_strong/mixin_super_constructor_named_test.dart
@@ -7,7 +7,7 @@ import "package:expect/expect.dart";
class Base {
int i, j;
Base.ctor(int this.i
- , {int this.j: 10} /// 01: compile-time error
+ , {int this.j: 10} //# 01: compile-time error
) {
if (j == null) {
j = 10;
@@ -24,12 +24,12 @@ abstract class M {
class C extends Base with M {
int l = 131;
- C.foo() : super.ctor(1, j: 13); /// 01: compile-time error
+ C.foo() : super.ctor(1, j: 13); //# 01: compile-time error
C.bar() : super.ctor(1);
}
main() {
- C c1 = new C.foo(); /// 01: compile-time error
+ C c1 = new C.foo(); //# 01: compile-time error
C c2 = new C.bar();
Expect.equals(1, c2.i);
Expect.equals(10, c2.j);

Powered by Google App Engine
This is Rietveld 408576698