Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
cmd/stringer: add temporary(?) fix to get stringer test working in mo…
Browse files Browse the repository at this point in the history
…dule mode

Updates golang/go#30874

Change-Id: I170ea99b3f06c8bc4cc624e86b80eeb852ea7115
Reviewed-on: https://go-review.googlesource.com/c/tools/+/167771
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
  • Loading branch information
bradfitz authored and Henry Wong committed Mar 19, 2019
1 parent a6b8863 commit a85c267
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/stringer/endtoend_test.go
Expand Up @@ -175,5 +175,6 @@ func runInDir(dir, name string, arg ...string) error {
cmd.Dir = dir
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Env = append(os.Environ(), "GO111MODULE=auto")
return cmd.Run()
}

0 comments on commit a85c267

Please sign in to comment.