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 bf37d5d commit 935b380Copy full SHA for 935b380
Testing/WinMLRunnerTest/WinMLRunnerTest.cpp
@@ -865,8 +865,7 @@ namespace WinMLRunnerTest
865
TEST_METHOD(LoadModelFailModelNotFound)
866
{
867
const std::wstring command = BuildCommand({ EXE_PATH, L"-model", L"invalid_model_name" });
868
- auto temp = RunProc((wchar_t *)command.c_str());
869
- Assert::AreEqual(HRESULT_FROM_WIN32(E_FAIL), temp);
+ Assert::AreEqual(HRESULT_FROM_WIN32(E_FAIL), RunProc((wchar_t *)command.c_str()));
870
}
871
872
TEST_METHOD(TestPrintUsage)
0 commit comments