]> Cypherpunks repositories - gostls13.git/commitdiff
typo
authorRuss Cox <rsc@golang.org>
Fri, 22 Jan 2010 22:24:17 +0000 (14:24 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 22 Jan 2010 22:24:17 +0000 (14:24 -0800)
R=r
CC=golang-dev
https://golang.org/cl/190103

src/pkg/expvar/expvar_test.go

index 51930eb1d7694b98afd3dce351bde1228fe2e0bc..2dc399e7dc83199e344fe27ed28fcb9dc74f3a3c 100644 (file)
@@ -12,7 +12,7 @@ import (
 func TestInt(t *testing.T) {
        reqs := NewInt("requests")
        if reqs.i != 0 {
-               t.Errorf("reqs.i = %v, want 4", reqs.i)
+               t.Errorf("reqs.i = %v, want 0", reqs.i)
        }
        if reqs != Get("requests").(*Int) {
                t.Errorf("Get() failed.")