From 9a4e140df36ddb161eb338cd5fbc285fb2de903c Mon Sep 17 00:00:00 2001 From: ryfu-msft Date: Fri, 10 Nov 2023 13:30:32 -0800 Subject: [PATCH] fix test --- src/AppInstallerCLITests/UpdateFlow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppInstallerCLITests/UpdateFlow.cpp b/src/AppInstallerCLITests/UpdateFlow.cpp index 19df1ede5e..7dc0873630 100644 --- a/src/AppInstallerCLITests/UpdateFlow.cpp +++ b/src/AppInstallerCLITests/UpdateFlow.cpp @@ -1052,7 +1052,7 @@ TEST_CASE("UpdateFlow_UpdateWithReboot", "[UpdateFlow][workflow][reboot]") INFO(updateOutput.str()); REQUIRE_FALSE(context.IsTerminated()); - REQUIRE_FALSE(updateOutput.str().find(Resource::LocString(Resource::String::InitiatingReboot).get()) != std::string::npos); + REQUIRE(updateOutput.str().find(Resource::LocString(Resource::String::InitiatingReboot).get()) != std::string::npos); REQUIRE(updateOutput.str().find(Resource::LocString(Resource::String::FailedToInitiateReboot).get()) != std::string::npos); } }