inweb-bootstrap/foundation-test/Tests/Test Cases/_Results_Ideal
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
..
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 Fix semver comparison with different numbers of prerelease elements 2022-04-07 22:34:51 -07: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