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

Unified Diff: tests/language/call_constructor_on_unresolvable_class_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/call_constructor_on_unresolvable_class_test.dart
diff --git a/tests/language/call_constructor_on_unresolvable_class_test.dart b/tests/language/call_constructor_on_unresolvable_class_test.dart
index 676114b3095b3cd7109e28ea65c59be4dc0b5bb2..9d8b9cff499ae913e42f074ee3b34059bc8d7e89 100644
--- a/tests/language/call_constructor_on_unresolvable_class_test.dart
+++ b/tests/language/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
}

Powered by Google App Engine
This is Rietveld 408576698