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

Unified Diff: tests/language/malformed_inheritance_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/malformed_inheritance_test.dart
diff --git a/tests/language/malformed_inheritance_test.dart b/tests/language/malformed_inheritance_test.dart
index 71eb1963dc7ddd58fb1c3e4e52d783bfb399ca9d..f55d8807a37c271b358a93080d836ee7a9082d3c 100644
--- a/tests/language/malformed_inheritance_test.dart
+++ b/tests/language/malformed_inheritance_test.dart
@@ -10,25 +10,25 @@ import 'package:expect/expect.dart';
class A<T> {}
class C
- extends Unresolved /// 01: compile-time error
- extends A<Unresolved> /// 02: static type warning
- extends Object with Unresolved /// 03: compile-time error
- extends Object with A<Unresolved> /// 04: static type warning
- implements Unresolved /// 05: compile-time error
- implements A<Unresolved> /// 06: static type warning
- <A> extends A<int> /// 07: compile-time error
- <A> extends A<Unresolved> /// 08: compile-time error
- <A> extends Object with A<int> /// 09: compile-time error
- <A> extends Object with A<Unresolved> /// 10: compile-time error
- <A> implements A<int> /// 11: compile-time error
- <A> implements A<Unresolved> /// 12: compile-time error
+ extends Unresolved //# 01: compile-time error
+ extends A<Unresolved> //# 02: static type warning
+ extends Object with Unresolved //# 03: compile-time error
+ extends Object with A<Unresolved> //# 04: static type warning
+ implements Unresolved //# 05: compile-time error
+ implements A<Unresolved> //# 06: static type warning
+ <A> extends A<int> //# 07: compile-time error
+ <A> extends A<Unresolved> //# 08: compile-time error
+ <A> extends Object with A<int> //# 09: compile-time error
+ <A> extends Object with A<Unresolved> //# 10: compile-time error
+ <A> implements A<int> //# 11: compile-time error
+ <A> implements A<Unresolved> //# 12: compile-time error
{
}
void main() {
new C();
- Expect.isTrue(new C() is A<String> && new C() is A<int>); /// 02: continued
- Expect.isTrue(new C() is A<String> && new C() is A<int>); /// 04: continued
- Expect.isTrue(new C() is A<String> && new C() is A<int>); /// 06: continued
+ Expect.isTrue(new C() is A<String> && new C() is A<int>); //# 02: continued
+ Expect.isTrue(new C() is A<String> && new C() is A<int>); //# 04: continued
+ Expect.isTrue(new C() is A<String> && new C() is A<int>); //# 06: continued
}

Powered by Google App Engine
This is Rietveld 408576698