fix: update check — handle spaced JSON, move cache touch after HTTP success, add timeouts and multi-monitor guard
This commit is contained in:
@@ -12,3 +12,9 @@ fn newer_version_detected() {
|
||||
fn strips_v_prefix() {
|
||||
assert!(is_newer("0.2.0", "0.1.0"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn multi_digit_minor_version() {
|
||||
assert!(is_newer("v0.10.0", "v0.9.0"));
|
||||
assert!(!is_newer("v0.9.0", "v0.10.0"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user