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

Unified Diff: tests/language_strong/library_ambiguous_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/library_ambiguous_test.dart
diff --git a/tests/language_strong/library_ambiguous_test.dart b/tests/language_strong/library_ambiguous_test.dart
index 011f041ca4d2346ec8a3437587d190576a673a96..52d1a4c84d38b0b16382e5be1677107fcd5c7d2a 100644
--- a/tests/language_strong/library_ambiguous_test.dart
+++ b/tests/language_strong/library_ambiguous_test.dart
@@ -9,15 +9,15 @@ import "library1.dart"; // Defines top level variable 'foo'
import "library2.dart"; // Defines top level variable 'foo'
class X
-extends baw /// 05: compile-time error
+extends baw //# 05: compile-time error
{}
main() {
- print(foo); /// 00: runtime error
- print(bar()); /// 01: runtime error
- print(baz()); /// 02: runtime error
- print(bay()); /// 03: runtime error
- print(main is bax); /// 04: static type warning, runtime error
- var x = new X(); /// 05: continued
+ print(foo); //# 00: runtime error
+ print(bar()); //# 01: runtime error
+ print(baz()); //# 02: runtime error
+ print(bay()); //# 03: runtime error
+ print(main is bax); //# 04: static type warning, runtime error
+ var x = new X(); //# 05: continued
print("No error expected if ambiguous definitions are not used.");
}

Powered by Google App Engine
This is Rietveld 408576698