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

Unified Diff: tests/isolate/isolate2_negative_test.dart

Issue 10828145: Fix negative test by not complicating it by using the unit test framework. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/isolate2_negative_test.dart
diff --git a/tests/isolate/isolate2_negative_test.dart b/tests/isolate/isolate2_negative_test.dart
index 587d53036361bd9dda10725de59cc1caa25796b2..11d66ed7411f6c1968d8e120b1285ea4d609ef9e 100644
--- a/tests/isolate/isolate2_negative_test.dart
+++ b/tests/isolate/isolate2_negative_test.dart
@@ -7,14 +7,11 @@
#library('Isolate2NegativeTest');
#import('dart:isolate');
-#import('../../lib/unittest/unittest.dart');
void entry() {
throw "foo";
}
main() {
- test("catch exception from other isolate", () {
- spawnFunction(entry);
- });
+ SendPort port = spawnFunction(entry);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698