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

Unified Diff: runtime/observatory/tests/service/test_helper.dart

Issue 1063853006: Update hack in test_helper.dart to handle new error message. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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: runtime/observatory/tests/service/test_helper.dart
diff --git a/runtime/observatory/tests/service/test_helper.dart b/runtime/observatory/tests/service/test_helper.dart
index 661e4755a024fa74decf53c9fc939ca7648dff5a..5fd2344a826819de3e2a319ed3e9208a5ddd0ef4 100644
--- a/runtime/observatory/tests/service/test_helper.dart
+++ b/runtime/observatory/tests/service/test_helper.dart
@@ -14,7 +14,7 @@ bool _isWebSocketDisconnect(e) {
if (e is! ServiceException) {
return false;
}
- return (e as ServiceException).message == 'WebSocket disconnected';
+ return (e as ServiceException).message == 'WebSocket closed';
}
// This invocation should set up the state being tested.
« 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