update go mock to allow for both version and env sub-commands

pull/22/head
Jason Hutchinson 8 years ago
parent 192d634e08
commit ac3307400d

@ -12,7 +12,14 @@ function setUp() {
}
function mockGo() {
case "$1" in
'version')
echo 'go version go1.5.3 darwin/amd64'
;;
'env')
echo "$HOME/go"
;;
esac
}
function testGo() {

Loading…
Cancel
Save