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

Unified Diff: tests/isolate/v2_unresolved_ports_negative_test.dart

Issue 10441104: New expectation functions plus convert old tests to use these. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « tests/isolate/v2_spawn_uri_vm_test.dart ('k') | tests/isolate/v2_unresolved_ports_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/v2_unresolved_ports_negative_test.dart
===================================================================
--- tests/isolate/v2_unresolved_ports_negative_test.dart (revision 8345)
+++ tests/isolate/v2_unresolved_ports_negative_test.dart (working copy)
@@ -27,10 +27,10 @@
test('Message chain with unresolved ports', () {
ReceivePort port = new ReceivePort();
port.receive(expectAsync2((msg, _) {
- expect(msg).equals('main says: Beth, find out if Tim is coming.'
+ expect(msg, equals('main says: Beth, find out if Tim is coming.'
+ '\nBeth says: Tim are you coming? And Bob?'
+ '\nTim says: Can you tell "main" that we are all coming?'
- + '\nBob says: we are NOT coming!'); // should be 'all', not 'NOT'
+ + '\nBob says: we are NOT coming!')); // should be 'all', not 'NOT'
port.close();
}));
« no previous file with comments | « tests/isolate/v2_spawn_uri_vm_test.dart ('k') | tests/isolate/v2_unresolved_ports_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698