Only run this test on Darwin
parent
9f6255cd42
commit
4f2e73c68a
|
|
@ -8,8 +8,12 @@ cite _about _param _example _group _author _version
|
||||||
load ../../lib/helpers
|
load ../../lib/helpers
|
||||||
|
|
||||||
NO_COLOR=true
|
NO_COLOR=true
|
||||||
|
IS_DARWIN=false
|
||||||
|
[[ "$(uname -s)" == "Darwin" ]] && IS_DARWIN=true
|
||||||
|
|
||||||
@test "helpers search aliases" {
|
if [ "$IS_DARWIN" == "tru" ]; then
|
||||||
|
@test "helpers search aliases" {
|
||||||
run _bash-it-search-component 'plugins' 'base'
|
run _bash-it-search-component 'plugins' 'base'
|
||||||
[[ "${lines[0]}" =~ 'plugins' && "${lines[0]}" =~ 'base' ]]
|
[[ "${lines[0]}" =~ 'plugins' && "${lines[0]}" =~ 'base' ]]
|
||||||
}
|
}
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue