Add test to check version export
This commit is contained in:
parent
9b85e45eec
commit
354d852d72
1 changed files with 4 additions and 0 deletions
|
@ -22,7 +22,11 @@
|
|||
}
|
||||
|
||||
@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" same_as "$git_version"
|
||||
}
|
||||
|
||||
@test 'hook functions are loaded by default' {
|
||||
|
|
Loading…
Add table
Reference in a new issue