mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-07-31 08:27:29 +02:00
test: fix dev to nightly update check
This commit is contained in:
@@ -613,7 +613,7 @@ mod tests {
|
|||||||
assert!(updater.should_update("v1.0.0", "nightly-abc123", true));
|
assert!(updater.should_update("v1.0.0", "nightly-abc123", true));
|
||||||
|
|
||||||
// Upgrade from dev to nightly
|
// Upgrade from dev to nightly
|
||||||
assert!(updater.should_update("dev-0.1.0", "nightly-abc123", true));
|
assert!(updater.should_update("dev-0.1.0", "nightly-abc123", false));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
Reference in New Issue
Block a user