flexver: fix ASCII value for '.' in comment

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib48589583e34742da5ca7d173ac0f0756a6a6964
This commit is contained in:
raf 2026-04-19 00:20:46 +03:00
commit e19df15ae5
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -286,7 +286,7 @@ mod tests {
assert!(cmp("sodium-1.0.1", "sodium-1.0.0").is_gt());
// File extensions are NOT stripped - they're part of the version string
// "sodium-1.0.0.jar" < "sodium-1.0.0~1.jar" because '.' (48) < '~' (126)
// "sodium-1.0.0.jar" < "sodium-1.0.0~1.jar" because '.' (46) < '~' (126)
assert!(cmp("sodium-1.0.0.jar", "sodium-1.0.0~1.jar").is_lt());
assert!(cmp("sodium-1.0.0~1.jar", "sodium-1.0.0.jar").is_gt());