one more test ... why not
This commit is contained in:
@@ -29,6 +29,13 @@ load ../../plugins/available/go.plugin
|
|||||||
[ "$output" = "/bar /foo" ]
|
[ "$output" = "/bar /foo" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test 'plugins go: single entry in GOPATH' {
|
||||||
|
export GOPATH="/foo"
|
||||||
|
load ../../plugins/available/go.plugin
|
||||||
|
echo "$(echo $PATH | cut -d':' -f1,2)"
|
||||||
|
[ "$(echo $PATH | cut -d':' -f1)" = "/foo/bin" ]
|
||||||
|
}
|
||||||
|
|
||||||
@test 'plugins go: multiple entries in GOPATH' {
|
@test 'plugins go: multiple entries in GOPATH' {
|
||||||
export GOPATH="/foo:/bar"
|
export GOPATH="/foo:/bar"
|
||||||
load ../../plugins/available/go.plugin
|
load ../../plugins/available/go.plugin
|
||||||
|
|||||||
Reference in New Issue
Block a user