mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-09-30 21:19:35 +02:00
test: fix dev to nightly update check
This commit is contained in:
1 parent
269b4dbe77
commit
6c834b3003
1 file changed
+1
-1
@@ -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