]> Cypherpunks repositories - gostls13.git/commitdiff
test: fix broken test
authorRob Pike <r@golang.org>
Tue, 21 Feb 2012 05:47:42 +0000 (16:47 +1100)
committerRob Pike <r@golang.org>
Tue, 21 Feb 2012 05:47:42 +0000 (16:47 +1100)
TBR=bradfitz

R=golang-dev
CC=golang-dev
https://golang.org/cl/5684050

test/fixedbugs/bug423.go

index 4a04c77f6221eb4d488fe037712e435fb70955a4..882108df8b67533dfa388da551ddb93330097c14 100644 (file)
@@ -271,7 +271,7 @@ func F(arg int) {
        X = 0
        X = 0
        X = 0 // used 256 times
-       if arg != 0 {
+       if arg != 1 {
                panic("argument was changed")
        }
 }