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

Unified Diff: tests/corelib_2/symbol_test.dart

Issue 2983253002: Migrated test block 29 to Dart 2.0 (Closed)
Patch Set: Migrated test block 29 to Dart 2.0 Created 3 years, 5 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/corelib_2/symbol_test.dart
diff --git a/tests/corelib_strong/symbol_test.dart b/tests/corelib_2/symbol_test.dart
similarity index 97%
rename from tests/corelib_strong/symbol_test.dart
rename to tests/corelib_2/symbol_test.dart
index 6b97092a670c334d7ac6787b3c07f269dccbb4d1..088443cbebdea93f6c868a508c18b022092c0bb5 100644
--- a/tests/corelib_strong/symbol_test.dart
+++ b/tests/corelib_2/symbol_test.dart
@@ -30,7 +30,7 @@ main() {
try {
var y = 0;
- print(new Symbol(y));
+ print(new Symbol(y)); //# 04: compile-time error
throw 'Expected a NoSuchMethodError or a TypeError';
} on NoSuchMethodError {
print('Caught NoSuchMethodError');

Powered by Google App Engine
This is Rietveld 408576698