aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/update.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/update.rs b/src/update.rs
index 68528795..fdb3ec5e 100644
--- a/src/update.rs
+++ b/src/update.rs
@@ -986,10 +986,10 @@ mod tests {
.expect("website/latest.json should match updater schema");
assert!(!manifest.notes_body().is_empty());
- assert_eq!(
- manifest.protocol,
- Some(crate::server::protocol::PROTOCOL_VERSION)
- );
+ // website/latest.json describes the latest released binaries, not the
+ // current unreleased checkout. Its protocol is updated by the release
+ // flow together with the release assets.
+ assert!(manifest.protocol.is_some());
assert_eq!(manifest.assets.len(), 4);
for target in [