1
0
mirror of https://github.com/zplug/zplug synced 2025-08-30 01:30:43 +02:00
zplug/test/autoload/options/__version___test.zsh
2016-02-22 16:18:40 +09:00

27 lines
417 B
Bash

#!/bin/zsh
: before
{
source "$ZPLUG_ROOT/init.zsh"
source "$ZPLUG_ROOT/test/.helpers/mock.zsh"
export ZPLUG_HOME="$ZPLUG_ROOT/test/.fixtures"
local expect actual
}
describe "__help__"
it ""
expect="$_ZPLUG_VERSION"
actual="$(zplug --version)"
assert.true $status
assert.equals "$expect" "$actual"
end
end
: after
{
zplugs=()
unset expect actual
}