pkl test test_semver.pkl
shall_be_true ✅
shall_be_false ✅
doesn't fail?
i think semver's isLessThan
...
function isLessThan(other: Version): Boolean =
major < other.major ||
minor < other.minor ||
patch < other.patch
...
should be something like
...
function isLessThan(other: Version): Boolean =
major < other.major ||
major == other.major && minor < other.minor ||
major == other.major && minor == other.minor && patch < other.patch
...
hello,
sorting by using semver's isLessThan() produces unexpected results.
a simple test_semver.pkl
doesn't fail?
i think semver's isLessThan
should be something like
?