Skip to content

Commit 64cb2cf

Browse files
kortschakrobpike
authored andcommitted
doc: don't invoke go build with -o /dev/null during test
Fixes #5998. R=golang-dev, khr CC=golang-dev https://golang.org/cl/12149043
1 parent 226e1ea commit 64cb2cf

File tree

1 file changed

+2
-2
lines changed
  • doc/codewalk

1 file changed

+2
-2
lines changed

doc/codewalk/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ echo foo | go run markov.go | grep foo > /dev/null || fail markov
1717
go run pig.go | grep 'Wins, losses staying at k = 100: 210/990 (21.2%), 780/990 (78.8%)' > /dev/null || fail pig
1818

1919
# sharemem.xml: only build the example, as it uses the network
20-
go build -o /dev/null urlpoll.go || fail urlpoll
21-
20+
go build urlpoll.go || fail urlpoll
21+
rm -f urlpoll

0 commit comments

Comments
 (0)