1
0
mirror of https://github.com/golang/go synced 2024-11-25 10:17:57 -07:00

test: fix broken test

TBR=bradfitz

R=golang-dev
CC=golang-dev
https://golang.org/cl/5684050
This commit is contained in:
Rob Pike 2012-02-21 16:47:42 +11:00
parent f2ad374ae6
commit b888671f4c

View File

@ -271,7 +271,7 @@ func F(arg int) {
X = 0 X = 0
X = 0 X = 0
X = 0 // used 256 times X = 0 // used 256 times
if arg != 0 { if arg != 1 {
panic("argument was changed") panic("argument was changed")
} }
} }