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

Issue 6570062: code review 6570062: go.net/ipv4: Disable an example. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by dsymonds
Modified:
12 years, 6 months ago
Reviewers:
mikio
CC:
adg, r, dave_cheney.net, golang-dev
Visibility:
Public.

Description

go.net/ipv4: Disable an example. This is an example that isn't executed normally anyway because the function has arguments. Adding an underscore prefix makes it easier to exclude it from automated tools.

Patch Set 1 #

Patch Set 2 : diff -r 7336440da745 https://code.google.com/p/go.net #

Patch Set 3 : diff -r 7336440da745 https://code.google.com/p/go.net #

Patch Set 4 : diff -r 7336440da745 https://code.google.com/p/go.net #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ipv4/example_test.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8
dsymonds
Hello adg (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.net
12 years, 6 months ago (2012-09-28 05:18:01 UTC) #1
r
LGTM probably worth discussing how to do this, but LGTM for now
12 years, 6 months ago (2012-09-28 06:58:49 UTC) #2
dave_cheney.net
LGTM I guess. On Fri, Sep 28, 2012 at 4:58 PM, <r@golang.org> wrote: > LGTM ...
12 years, 6 months ago (2012-09-28 07:00:27 UTC) #3
dsymonds
*** Submitted as http://code.google.com/p/go/source/detail?r=e0dab2e41c13&repo=net *** go.net/ipv4: Disable an example. This is an example that isn't ...
12 years, 6 months ago (2012-09-28 07:05:09 UTC) #4
adg
This is weird. Why does the example have arguments, anyway?
12 years, 6 months ago (2012-09-28 17:43:34 UTC) #5
mikio
On Sat, Sep 29, 2012 at 2:43 AM, Andrew Gerrand <adg@golang.org> wrote: > Why does ...
12 years, 6 months ago (2012-09-28 23:00:23 UTC) #6
adg
On 29 September 2012 09:00, Mikio Hara <mikioh.mikioh@gmail.com> wrote: > On Sat, Sep 29, 2012 ...
12 years, 5 months ago (2012-10-01 22:55:52 UTC) #7
mikio
12 years, 5 months ago (2012-10-02 04:11:13 UTC) #8
On Tue, Oct 2, 2012 at 7:55 AM, Andrew Gerrand <adg@golang.org> wrote:

> I guess I never thought anyone would do that.

hooray!

> I'm surprised the tests still pass generally.
> I think that 'go test' just ignores such examples

I will rewrite that example for safety, thanks.
Sign in to reply to this message.

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