diff --git a/src/core/updates.rs b/src/core/updates.rs index 836250e..6d38c7f 100644 --- a/src/core/updates.rs +++ b/src/core/updates.rs @@ -656,6 +656,17 @@ mod tests { env!("CARGO_PKG_VERSION"), "version.json and Cargo.toml must agree" ); + + let metainfo = std::fs::read_to_string(concat!( + env!("CARGO_MANIFEST_DIR"), + "/data/io.github.gnacho.nextsync.metainfo.xml" + )) + .expect("metainfo.xml ships with the repository"); + let release_tag = format!(" must carry the current version" + ); } #[test]