otakup0pe / avakas

Tooling to assist with Semantic Version Manipulation and Representation
http://ohno.computer/post/144362045508/a-codified-opinion-on-semantic-versioning
MIT License
2 stars 5 forks source link

prerelease bats tests do not correctly check the displayed version for any prerelease with date #72

Closed tyler-jachetta closed 3 years ago

tyler-jachetta commented 3 years ago

The prerelease tests in bats that are checking --prerelease-date, use git -v with an extended pattern (but no -E) to check the output, so the tests as-is will always succeed unless something really strange is output.

I tested this locally by making avakas show print 'foo'. All of the date tests which use this pattern passed