]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix syntax mistake in a testscript file
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 7 Jun 2019 21:59:40 +0000 (22:59 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 7 Jun 2019 23:25:54 +0000 (23:25 +0000)
I didn't realise that the trybots don't include any Mac machines, so I
assumed this test change was fine when submitting CL 181177.

In any case, this is a simple fix. I forgot to add the quotes, as the
new UserConfigDir on Mac includes a space.

Change-Id: I0766b966fc41736e9fc859e37f059a3f12788d7a
Reviewed-on: https://go-review.googlesource.com/c/go/+/181278
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/go/testdata/script/env_write.txt

index e944d09e96e68417548c8c7d7518c8ffd9ff5dec..ea15087c5d3ea71117557cd38515ff23d2889439 100644 (file)
@@ -5,7 +5,7 @@ env AppData=$HOME/windowsappdata
 env home=$HOME/plan9home
 go env GOENV
 [aix] stdout $HOME/.config/go/env
-[darwin] stdout $HOME/Library/Application Support/go/env
+[darwin] stdout '$HOME/Library/Application Support/go/env'
 [freebsd] stdout $HOME/.config/go/env
 [linux] stdout $HOME/.config/go/env
 [netbsd] stdout $HOME/.config/go/env