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

Unified Diff: pkg/http/test/streamed_request_test.dart

Issue 11293075: Reverting 14496 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/http/test/response_test.dart ('k') | pkg/http/test/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http/test/streamed_request_test.dart
diff --git a/pkg/http/test/streamed_request_test.dart b/pkg/http/test/streamed_request_test.dart
deleted file mode 100644
index e71d50bb1ced1f4ec0098e39099923f11e268c23..0000000000000000000000000000000000000000
--- a/pkg/http/test/streamed_request_test.dart
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library streamed_request_test;
-
-import 'dart:io';
-
-import '../../unittest/lib/unittest.dart';
-import '../lib/http.dart' as http;
-import 'utils.dart';
-
-void main() {
- test('#finalize freezes contentLength', () {
- var request = new http.StreamedRequest('POST', dummyUrl);
- request.finalize();
-
- expect(request.contentLength, equals(-1));
- expect(() => request.contentLength = 10, throwsStateError);
- });
-}
« no previous file with comments | « pkg/http/test/response_test.dart ('k') | pkg/http/test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698