From: Rob Pike Date: Thu, 20 Feb 2014 00:12:05 +0000 (-0800) Subject: cmd/pack: another attempt to fix the build for TestHello X-Git-Tag: go1.3beta1~644 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=00b76713a7ba9182e9dfc29dcc37e94d000703b8;p=gostls13.git cmd/pack: another attempt to fix the build for TestHello Plan 9 uses single quotes, not double quotes. I should have known. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/66240043 --- diff --git a/src/cmd/pack/pack_test.go b/src/cmd/pack/pack_test.go index cab236fa88..dc42b707ac 100644 --- a/src/cmd/pack/pack_test.go +++ b/src/cmd/pack/pack_test.go @@ -193,7 +193,7 @@ func TestHello(t *testing.T) { } out := run("go", "env") - re, err := regexp.Compile(`\s*GOCHAR="?(\w)"?`) + re, err := regexp.Compile(`\s*GOCHAR=['"]?(\w)['"]?`) if err != nil { t.Fatal(err) }