diff --git a/app/igneum-app/src/ota.rs b/app/igneum-app/src/ota.rs index f52ced1bc..41b0545af 100644 --- a/app/igneum-app/src/ota.rs +++ b/app/igneum-app/src/ota.rs @@ -1345,7 +1345,7 @@ mod return_tests { assert!(h.contains("install-running.flag") && h.contains("-gt 900"), "the same marker and the same stale rule as relaunch_allowed"); // the installer writes and clears it, and the host holds its restart on it let iss = include_str!("../../../packaging/windows/Igneum-Miner.iss"); - assert!(iss.contains("install-running.flag") && iss.contains("SetMarker;") && iss.contains("if CurStep = ssDone then ClearMarker") && iss.contains("SetupMutex=IgneumMinerSetup")); + assert!(iss.contains("install-running.flag") && iss.contains("SetMarker;") && iss.contains("if CurStep = ssDone then") && iss[iss.find("if CurStep = ssDone then").unwrap()..].contains("ClearMarker") && iss.contains("SetupMutex=IgneumMinerSetup")); let host = include_str!("../../windows/host.cpp"); assert!(host.contains("install-running.flag") && host.contains("installerRunning()"), "the host's restart ladder holds while the marker is there"); }