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

Issue 4266044: code review 4266044: websocket: use httptest.Server for tests (Closed)

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

Description

websocket: use httptest.Server for tests

Patch Set 1 #

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

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

Total comments: 1

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

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

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

Messages

Total messages: 6
rh
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 2 months ago (2011-03-06 21:51:01 UTC) #1
rsc
Thanks for fixing this. http://codereview.appspot.com/4266044/diff/4001/src/pkg/websocket/websocket_test.go File src/pkg/websocket/websocket_test.go (right): http://codereview.appspot.com/4266044/diff/4001/src/pkg/websocket/websocket_test.go#newcode28 src/pkg/websocket/websocket_test.go:28: server := httptest.NewServer(http.DefaultServeMux) s/http.DefaultServeMux/nil/
14 years, 2 months ago (2011-03-06 21:54:21 UTC) #2
rh
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-03-06 21:59:03 UTC) #3
rh
Thanks. I learned something new. :)
14 years, 2 months ago (2011-03-06 22:03:47 UTC) #4
rsc
LGTM
14 years, 2 months ago (2011-03-06 22:05:00 UTC) #5
rsc
14 years, 2 months ago (2011-03-06 22:05:16 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=45f77ba34e1d ***

websocket: use httptest.Server for tests

R=rsc
CC=golang-dev
http://codereview.appspot.com/4266044

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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