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

Unified Diff: tests/lib_strong/mirrors/circular_factory_redirection_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
Index: tests/lib_strong/mirrors/circular_factory_redirection_test.dart
diff --git a/tests/lib_strong/mirrors/circular_factory_redirection_test.dart b/tests/lib_strong/mirrors/circular_factory_redirection_test.dart
index 997a319adfe509108d0f7f55888d920de21dc5f8..4823f55a5c840a645672594c0767c914f3433fb5 100644
--- a/tests/lib_strong/mirrors/circular_factory_redirection_test.dart
+++ b/tests/lib_strong/mirrors/circular_factory_redirection_test.dart
@@ -7,25 +7,25 @@ import "package:expect/expect.dart";
class A {
A();
- A.circular() = B.circular; // /// 01: compile-time error
- const A.circular2() = B.circular2; // /// 02: compile-time error
+ A.circular() = B.circular; // //# 01: compile-time error
+ const A.circular2() = B.circular2; // //# 02: compile-time error
}
class B {
B();
- B.circular() = C.circular; // /// 01: continued
- const B.circular2() = C.circular2; // /// 02: continued
+ B.circular() = C.circular; // //# 01: continued
+ const B.circular2() = C.circular2; // //# 02: continued
}
class C {
C();
- C.circular() = A.circular; // /// 01: continued
- const C.circular2() = A.circular2; // /// 02: continued
+ C.circular() = A.circular; // //# 01: continued
+ const C.circular2() = A.circular2; // //# 02: continued
}
main() {
ClassMirror cm = reflectClass(A);
- new A.circular(); // /// 01: continued
- new A.circular2(); // /// 02: continued
+ new A.circular(); // //# 01: continued
+ new A.circular2(); // //# 02: continued
Expect.throws(() => cm.newInstance(#circular, []),
(e) => e is NoSuchMethodError,
« no previous file with comments | « tests/lib_strong/mirrors/abstract_class_test.dart ('k') | tests/lib_strong/mirrors/class_declarations_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698