summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2014-02-19 16:12:05 -0800
committerRob Pike <r@golang.org>2014-02-19 16:12:05 -0800
commit2eb9a1090a2e8ec5739ec4618c063e669a85370c (patch)
treeae40969aa37363f3b891284dcf2c536e41965d07
parentcc9cdca403c98275ec72523bdf4294619639d4a2 (diff)
downloadgo-2eb9a1090a2e8ec5739ec4618c063e669a85370c.tar.gz
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://codereview.appspot.com/66240043
-rw-r--r--src/cmd/pack/pack_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/pack/pack_test.go b/src/cmd/pack/pack_test.go
index cab236fa8..dc42b707a 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)
}