mirror of
https://github.com/veeso/termscp.git
synced 2026-04-04 17:21:21 -07:00
@@ -233,7 +233,7 @@ mod test {
|
||||
#[test]
|
||||
fn should_tell_that_version_is_higher() {
|
||||
assert!(Update::is_new_version_higher("0.10.0", "0.9.0"));
|
||||
assert!(Update::is_new_version_higher("0.20.0", "0.19.0"));
|
||||
assert!(Update::is_new_version_higher("0.20.0", "0.19.1"));
|
||||
assert!(!Update::is_new_version_higher("0.9.0", "0.10.0"));
|
||||
assert!(!Update::is_new_version_higher("0.9.9", "0.10.1"));
|
||||
assert!(!Update::is_new_version_higher("0.10.9", "0.11.0"));
|
||||
|
||||
Reference in New Issue
Block a user