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

Unified Diff: tests/language_strong/call_constructor_on_unresolvable_class_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/language_strong/call_constructor_on_unresolvable_class_test.dart
diff --git a/tests/language_strong/call_constructor_on_unresolvable_class_test.dart b/tests/language_strong/call_constructor_on_unresolvable_class_test.dart
index 4864d8775c7a6f81c02d249a76944bd26181dcaa..caf9b0c48994ac9ae461bb5f237de2e9e0a446f7 100644
--- a/tests/language_strong/call_constructor_on_unresolvable_class_test.dart
+++ b/tests/language_strong/call_constructor_on_unresolvable_class_test.dart
@@ -19,20 +19,20 @@ never() {
main() {
if (never()) {
// These should not produce errors because the calls are never executed.
- new A(); // /// 01: static type warning
- new A.foo(); // /// 02: static type warning
- new lib.A(); // /// 03: static type warning
+ new A(); // //# 01: static type warning
+ new A.foo(); // //# 02: static type warning
+ new lib.A(); // //# 03: static type warning
}
- new A(); // /// 04: static type warning, runtime error
- new A.foo(); // /// 05: static type warning, runtime error
- new lib.A(); // /// 06: static type warning, runtime error
+ new A(); // //# 04: static type warning, runtime error
+ new A.foo(); // //# 05: static type warning, runtime error
+ new lib.A(); // //# 06: static type warning, runtime error
- var ex; // /// 07: static type warning
- try { // /// 07: continued
- new A(); // /// 07: continued
- } catch (e) { // /// 07: continued
- ex = e; // /// 07: continued
- } // /// 07: continued
- Expect.isTrue(ex != null); /// 07: continued
+ var ex; // //# 07: static type warning
+ try { // //# 07: continued
+ new A(); // //# 07: continued
+ } catch (e) { // //# 07: continued
+ ex = e; // //# 07: continued
+ } // //# 07: continued
+ Expect.isTrue(ex != null); //# 07: continued
}
« no previous file with comments | « tests/language_strong/built_in_identifier_test.dart ('k') | tests/language_strong/call_non_method_field_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698