Prepare Manager 0.9.3 and verify platform-specific realm restriction

This commit is contained in:
Дмитрий committed 2026-10-29 10:07:33 +05:00
1 parent 7bb0ea9472
commit e7b76137d1
7 files changed
+24 -14

No files matched your search

+6 -1
View File
@@ -497,7 +497,12 @@ mod tests {
)
.unwrap();
let err = set_reborn_enabled(t.path(), true).unwrap_err().to_string();
assert!(err.contains("Select Conquest of Azeroth first"), "{err}");
let expected = if cfg!(windows) {
"Select Conquest of Azeroth first"
} else {
"Simultaneous realms currently require Windows"
};
assert!(err.contains(expected), "{err}");
assert!(!realms::state(t.path()).unwrap().with_reborn);
}