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

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: 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
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 76%
rename from tests/isolate/isolate_import_negative_test.dart
rename to tests/isolate/isolate_import_test.dart
index 1ea91022d8bb00d43e89470c90c5255cc36437b7..b44352673319b04237813cbf0857241a9ec68841 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
kustermann 2013/11/28 09:19:47 It should look like: /// 01: runtime error, stat
floitsch 2013/11/28 14:35:26 unresolved identifiers are warnings. thanks, and d
+import 'dart:isolate';
+*/ /// 01: continued
void entry(msg) {}
main() {
- Isolate.spawn(entry);
+ Isolate.spawn(entry, null);
}

Powered by Google App Engine
This is Rietveld 408576698