diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-13 14:58:09 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-13 14:58:09 +0300 |
| commit | bca2f033f3b3f537857337de431bf11a2d1faca4 (patch) | |
| tree | c8d974389ca3b16554b1c23cb0f7d3ec9a75a96f /src/update.rs | |
| parent | 4da250ad17e6a60e00ca880ca5500515e3737f5b (diff) | |
test: decouple release manifest from source protocol
Diffstat (limited to 'src/update.rs')
| -rw-r--r-- | src/update.rs | 8 |
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 [ |
