inweb-bootstrap/foundation-test/Tests/Test Cases
Philip Chimento 436901adb6 Fix semver comparison with different numbers of prerelease elements
By my reading of the semantic versioning spec, the sense of the comparison
of the number of prerelease version segments has to be reversed when one
of those numbers is zero.

In other words, zero prerelease segments takes precedence over any nonzero
number, but any nonzero number takes precedence over any lower nonzero
number.

Example given in the specification:
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta <
  1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0.

I had two failing test cases in foundation-test; in one case, the blessed
output seemed to be wrong, whereas the other case made this fix necessary.
2022-04-07 22:34:51 -07:00
..
_Results_Actual Ensure _Results_Actual folder is created in git checkout 2022-04-07 21:33:43 -07:00
_Results_Ideal Fix semver comparison with different numbers of prerelease elements 2022-04-07 22:34:51 -07:00
dictionaries.txt Initial commit 2019-02-04 22:26:45 +00:00
lists.txt Initial commit 2019-02-04 22:26:45 +00:00
regexp.txt Initial commit 2019-02-04 22:26:45 +00:00
replacement.txt Initial commit 2019-02-04 22:26:45 +00:00
semver.txt Added semantic versions to foundation 2020-03-22 22:44:26 +00:00
stacks.txt Initial commit 2019-02-04 22:26:45 +00:00
strings.txt Initial commit 2019-02-04 22:26:45 +00:00
trees.txt Added heterogeneous trees to Foundation 2020-04-17 19:18:40 +01:00