release: v1.0.0
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 50s
CI / Lint & Test (push) Successful in 15m58s
CI / Build Linux (push) Successful in 19m8s
CI / Build Windows (cross-compile) (push) Successful in 28m41s

This commit is contained in:
2026-01-26 00:26:18 -08:00
parent b3d79a82ef
commit bebf1552a6
5 changed files with 7 additions and 81 deletions
+4 -4
View File
@@ -611,7 +611,7 @@ mod tests {
#[test]
fn test_update_info_serialization() {
let info = UpdateInfo {
current_version: "0.3.0".to_string(),
current_version: "1.0.0".to_string(),
latest_version: "0.4.0".to_string(),
has_update: true,
release_url: "https://example.com/release".to_string(),
@@ -619,7 +619,7 @@ mod tests {
};
let json = serde_json::to_string(&info).unwrap();
assert!(json.contains("0.3.0"));
assert!(json.contains("1.0.0"));
assert!(json.contains("0.4.0"));
assert!(json.contains("true"));
assert!(json.contains("New features!"));
@@ -628,8 +628,8 @@ mod tests {
#[test]
fn test_update_info_without_notes() {
let info = UpdateInfo {
current_version: "0.3.0".to_string(),
latest_version: "0.3.0".to_string(),
current_version: "1.0.0".to_string(),
latest_version: "1.0.0".to_string(),
has_update: false,
release_url: "https://example.com/release".to_string(),
release_notes: None,