Add test to check version export

This commit is contained in:
Michael Aquilina 2019-07-15 20:54:48 +01:00
parent 9b85e45eec
commit 354d852d72
No known key found for this signature in database
GPG key ID: 636066730B056BD1

View file

@ -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' {