5cdd743344
chore(tests): include basic stringification tests
2024-11-22 05:51:30 +00:00
14bc7cea42
chore(tests): apply formatting
2024-11-21 18:40:10 +00:00
812a024689
chore(tests): multichar prerelease ordinal case
2024-11-21 18:23:27 +00:00
fe321dda7b
fix: return error on invalid ordinal with points
...
Previously, if the ordinal contained dots (like 1.2.3-beta.3.4.5),
although it was invalid, an error would not be returned, which was
problematic. This has now been fixed.
Test cases are also included to prevent future regressions.
2024-11-21 18:21:19 +00:00
ab6e993879
feat: implement tostring for SemverImpl
...
* `SemverImpl:__tostring` - Allows for stringifying a parsed semver instance
* Add TODO comment for future erroring for bad ordinal format
2024-11-21 17:20:48 +00:00
b3db2f858c
chore(tests): migrate parse_invalid to use official frktest package
2024-11-12 20:24:52 +05:30
6e18053e5a
chore(tests): migrate parse_valid to use official frktest package
...
Also removes `any` casts since https://github.com/itsfrank/frktest/issues/2 was resolved.
2024-11-12 20:23:51 +05:30
7f30ca3df6
chore(tests): migrate cmp test to use official frktest package
2024-11-12 20:22:17 +05:30
147a5dbd2a
chore: include test suites for library
2024-11-04 12:18:52 +05:30