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

Issue 11727008: Fix badly written test (Closed)

Created:
7 years, 11 months ago by Søren Gjesse
Modified:
7 years, 11 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix badly written test The test closed the output stream on an HTTP response before consuming the request. R=ager@google.com BUG=dart:7562 Committed: https://code.google.com/p/dart/source/detail?r=16639

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -20 lines) Patch
M tests/standalone/io/http_content_length_test.dart View 3 chunks +23 lines, -20 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Søren Gjesse
7 years, 11 months ago (2013-01-02 12:02:21 UTC) #1
Mads Ager (google)
7 years, 11 months ago (2013-01-02 13:26:43 UTC) #2
LGTM

https://codereview.chromium.org/11727008/diff/1/tests/standalone/io/http_cont...
File tests/standalone/io/http_content_length_test.dart (right):

https://codereview.chromium.org/11727008/diff/1/tests/standalone/io/http_cont...
tests/standalone/io/http_content_length_test.dart:66: Expect.throws(() =>
response.contentLength = 3, (e) => e is HttpException);
Long line.

Powered by Google App Engine
This is Rietveld 408576698