From 13f179b9c8c3b9d9066e71d0a69cff8c0876098b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Fri, 7 Jun 2019 22:59:40 +0100 Subject: [PATCH] cmd/go: fix syntax mistake in a testscript file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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í Reviewed-by: Ian Lance Taylor TryBot-Result: Gobot Gobot --- src/cmd/go/testdata/script/env_write.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/testdata/script/env_write.txt b/src/cmd/go/testdata/script/env_write.txt index e944d09e96..ea15087c5d 100644 --- a/src/cmd/go/testdata/script/env_write.txt +++ b/src/cmd/go/testdata/script/env_write.txt @@ -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 -- 2.51.0