Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(157)

Issue 6221059: code review 6221059: net/http: improve TestServerExpect (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by bradfitz
Modified:
12 years, 9 months ago
Reviewers:
CC:
golang-dev, rsc
Visibility:
Public.

Description

net/http: improve TestServerExpect Fail more usefully, and Logf in one place instead of Errorf where an error is acceptable.

Patch Set 1 #

Patch Set 2 : diff -r 83f71485e378 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 83f71485e378 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 89a9ef95c8db https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 89a9ef95c8db https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 6 : diff -r afbf8db1baf4 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -10 lines) Patch
M src/pkg/net/http/serve_test.go View 1 2 3 4 2 chunks +34 lines, -10 lines 0 comments Download

Messages

Total messages: 8
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 9 months ago (2012-05-22 15:26:00 UTC) #1
rsc
LGTM
12 years, 9 months ago (2012-05-22 16:53:10 UTC) #2
bradfitz
You see that this doesn't include the change you proposed, though, right? Additionally, this CL ...
12 years, 9 months ago (2012-05-22 16:56:37 UTC) #3
bradfitz
Hello golang-dev@googlegroups.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 9 months ago (2012-05-22 17:03:25 UTC) #4
bradfitz
One more revision coming. On Tue, May 22, 2012 at 10:03 AM, <bradfitz@golang.org> wrote: > ...
12 years, 9 months ago (2012-05-22 17:05:32 UTC) #5
bradfitz
Hello golang-dev@googlegroups.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 9 months ago (2012-05-22 17:12:51 UTC) #6
rsc
LGTM http://codereview.appspot.com/6221059/diff/5/src/pkg/net/http/serve_test.go File src/pkg/net/http/serve_test.go (right): http://codereview.appspot.com/6221059/diff/5/src/pkg/net/http/serve_test.go#newcode687 src/pkg/net/http/serve_test.go:687: if test.forcedBadBody() { I don't think you need ...
12 years, 9 months ago (2012-05-22 17:14:33 UTC) #7
bradfitz
12 years, 9 months ago (2012-05-22 17:27:41 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=2c1cc7b715e6 ***

net/http: improve TestServerExpect

Fail more usefully, and Logf in one place instead of Errorf where
an error is acceptable.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6221059
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b