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

Unified Diff: tests/isolate/isolate_import_test.dart

Issue 92223003: Clean up isolate tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 1 month 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
« no previous file with comments | « tests/isolate/isolate_import_negative_test.dart ('k') | tests/isolate/isolate_negative_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/isolate_import_test.dart
diff --git a/tests/isolate/isolate_import_negative_test.dart b/tests/isolate/isolate_import_test.dart
similarity index 73%
rename from tests/isolate/isolate_import_negative_test.dart
rename to tests/isolate/isolate_import_test.dart
index 1ea91022d8bb00d43e89470c90c5255cc36437b7..5fa0f326c1239fbfa5035c88fdf3b79e72dd2cb9 100644
--- a/tests/isolate/isolate_import_negative_test.dart
+++ b/tests/isolate/isolate_import_test.dart
@@ -4,11 +4,13 @@
library IsolateImportNegativeTest;
// Omitting the following import is an error:
-// import 'dart:isolate';
+/* /// 01: runtime error, static type warning
+import 'dart:isolate';
+*/ /// 01: continued
void entry(msg) {}
main() {
- Isolate.spawn(entry);
+ Isolate.spawn(entry, null);
}
« no previous file with comments | « tests/isolate/isolate_import_negative_test.dart ('k') | tests/isolate/isolate_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698