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

Unified Diff: test/hijack_test.dart

Issue 837193005: pkg/shelf: formatted code (Closed) Base URL: https://github.com/dart-lang/shelf.git@master
Patch Set: nits Created 5 years, 11 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 | « test/create_middleware_test.dart ('k') | test/message_change_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/hijack_test.dart
diff --git a/test/hijack_test.dart b/test/hijack_test.dart
index ee4255a2bc19f57e6acaf451f815d0885aa251e5..d7c6e6f555611ae7d4fce91abf73a523567f0127 100644
--- a/test/hijack_test.dart
+++ b/test/hijack_test.dart
@@ -53,8 +53,7 @@ void main() {
test('hijacking a non-hijackable request throws a StateError', () {
var request = new Request('GET', LOCALHOST_URI);
var newRequest = request.change();
- expect(() => newRequest.hijack((_, __) => null),
- throwsStateError);
+ expect(() => newRequest.hijack((_, __) => null), throwsStateError);
});
test('hijacking a hijackable request throws a HijackException and calls '
« no previous file with comments | « test/create_middleware_test.dart ('k') | test/message_change_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698