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

Unified Diff: pkg/shelf/test/test_util.dart

Issue 256753004: pkg/shelf: change helper method on Request and Response (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nevermind Created 6 years, 7 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 | « pkg/shelf/test/shelf_io_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/shelf/test/test_util.dart
diff --git a/pkg/shelf/test/test_util.dart b/pkg/shelf/test/test_util.dart
index 10afe995c06570f3fc3753763d32f9aa46dc0bdd..281989b364cc0e11cc7cc6a5e3ddd0b174f28296 100644
--- a/pkg/shelf/test/test_util.dart
+++ b/pkg/shelf/test/test_util.dart
@@ -9,6 +9,12 @@ import 'dart:async';
import 'package:shelf/shelf.dart';
import 'package:shelf/src/util.dart';
+// "hello,"
+const HELLO_BYTES = const [104, 101, 108, 108, 111, 44];
+
+// " world"
+const WORLD_BYTES = const [32, 119, 111, 114, 108, 100];
+
/// A simple, synchronous handler for [Request].
///
/// By default, replies with a status code 200, empty headers, and
« no previous file with comments | « pkg/shelf/test/shelf_io_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698