mirror of
https://github.com/golang/go
synced 2024-11-12 06:20:22 -07: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:
parent
2037756fcc
commit
00b76713a7
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user