Skip to content

Commit bf37d5d

Browse files
E_FAIL returned
1 parent 4559946 commit bf37d5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Testing/WinMLRunnerTest/WinMLRunnerTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,8 @@ namespace WinMLRunnerTest
865865
TEST_METHOD(LoadModelFailModelNotFound)
866866
{
867867
const std::wstring command = BuildCommand({ EXE_PATH, L"-model", L"invalid_model_name" });
868-
Assert::AreEqual(HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), RunProc((wchar_t *)command.c_str()));
868+
auto temp = RunProc((wchar_t *)command.c_str());
869+
Assert::AreEqual(HRESULT_FROM_WIN32(E_FAIL), temp);
869870
}
870871

871872
TEST_METHOD(TestPrintUsage)

0 commit comments

Comments
 (0)