We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4559946 commit bf37d5dCopy full SHA for bf37d5d
Testing/WinMLRunnerTest/WinMLRunnerTest.cpp
@@ -865,7 +865,8 @@ namespace WinMLRunnerTest
865
TEST_METHOD(LoadModelFailModelNotFound)
866
{
867
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()));
+ auto temp = RunProc((wchar_t *)command.c_str());
869
+ Assert::AreEqual(HRESULT_FROM_WIN32(E_FAIL), temp);
870
}
871
872
TEST_METHOD(TestPrintUsage)
0 commit comments