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

Unified Diff: pkg/http_parser/test/web_socket_test.dart

Issue 247893005: Fix analyzer errors in the http_parser web socket test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: pkg/http_parser/test/web_socket_test.dart
diff --git a/pkg/http_parser/test/web_socket_test.dart b/pkg/http_parser/test/web_socket_test.dart
index 5eadbff65c4c95a9575ba4a7ed884302da509b8c..45b84d9ec759946a1e7ae375d56943255f0bbeb6 100644
--- a/pkg/http_parser/test/web_socket_test.dart
+++ b/pkg/http_parser/test/web_socket_test.dart
@@ -43,7 +43,7 @@ void main() {
webSocket.close();
server.close();
} else {
- expect(false, reason: "Only expected two messages.");
+ fail("Only expected two messages.");
}
n++;
}).asFuture();
@@ -85,7 +85,7 @@ void main() {
webSocket.close();
server.close();
} else {
- expect(false, reason: "Only expected two messages.");
+ fail("Only expected two messages.");
}
n++;
}).asFuture();
« 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