Skip to content

Instantly share code, notes, and snippets.

@mbbroberg
Created July 15, 2017 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbbroberg/b1898bb563d90578c83aca593c6fd875 to your computer and use it in GitHub Desktop.
Save mbbroberg/b1898bb563d90578c83aca593c6fd875 to your computer and use it in GitHub Desktop.
~/Documents/Develop/go/src/regexp   master ✚ 
 GOROOT=$(pwd/../..) go test example_test.go -run QuoteMeta -v
zsh: no such file or directory: pwd/../..
testing: warning: no tests to run
PASS
ok command-line-arguments 0.006s
~/Documents/Develop/go/src/regexp   master ✚ 
 go test example_test.go -run MatchString -v
=== RUN ExampleMatchString
--- PASS: ExampleMatchString (0.00s)
PASS
ok command-line-arguments 0.006s
~/Documents/Develop/go/src/regexp   master ✚ 
 GOROOT=/Users/mbbroberg/Documents/Develop/go/ go test example_test.go -run MatchString -v
go: open /Users/mbbroberg/Documents/Develop/go/src/runtime/internal/sys/zversion.go: no such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment