1
0
mirror of https://github.com/golang/go synced 2024-09-24 23:20:12 -06:00

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
This commit is contained in:
Rob Pike 2014-02-19 16:12:05 -08:00
parent 2037756fcc
commit 00b76713a7

View File

@ -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)
}