mirror of
https://github.com/philippdieter/zsh-auto-notify.git
synced 2025-10-13 03:58:44 +00:00
Add test to check version export
This commit is contained in:
parent
9b85e45eec
commit
354d852d72
@ -22,7 +22,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test 'version exported' {
|
@test 'version exported' {
|
||||||
|
git_version="$(git tag --list | sort -V | tail -1)"
|
||||||
|
git tag --list
|
||||||
|
|
||||||
assert "$AUTO_NOTIFY_VERSION" is_not_empty
|
assert "$AUTO_NOTIFY_VERSION" is_not_empty
|
||||||
|
assert "$AUTO_NOTIFY_VERSION" same_as "$git_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test 'hook functions are loaded by default' {
|
@test 'hook functions are loaded by default' {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user