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

Unified Diff: dart/tests/isolate/spawn_uri_multi_test.dart

Issue 23721012: Generate out.precompiled.js, not precompiled.js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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: dart/tests/isolate/spawn_uri_multi_test.dart
diff --git a/dart/tests/isolate/spawn_uri_negative_test.dart b/dart/tests/isolate/spawn_uri_multi_test.dart
similarity index 72%
rename from dart/tests/isolate/spawn_uri_negative_test.dart
rename to dart/tests/isolate/spawn_uri_multi_test.dart
index 6e5be3beceb45f139183f4a5f215582801c78219..61d9a084d9469e79b38ab7622ebafae67c3dcaad 100644
--- a/dart/tests/isolate/spawn_uri_negative_test.dart
+++ b/dart/tests/isolate/spawn_uri_multi_test.dart
@@ -8,13 +8,20 @@
// OtherScripts=spawn_uri_child_isolate.dart
library spawn_tests;
import 'dart:isolate';
-import '../../pkg/unittest/lib/unittest.dart';
+import 'package:unittest/unittest.dart';
+
+/* Dummy import so multi-test copies the file.
+import 'spawn_uri_child_isolate.dart';
+*/
main() {
test('isolate fromUri - negative test', () {
ReceivePort port = new ReceivePort();
port.receive(expectAsync2((msg, _) {
- expect(msg, equals('re: hello')); // should be hi, not hello
+ String expectedMessage = 're: hi';
+ // Should be hi, not hello.
+ expectedMessage = 're: hello'; /// 01: runtime error
+ expect(msg, equals(expectedMessage));
port.close();
}));

Powered by Google App Engine
This is Rietveld 408576698