Skip to content

Commit 417686d

Browse files
committed
Trying with error not found
1 parent 3323813 commit 417686d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/AppNotificationTests/BaseTestSuite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ void BaseTestSuite::VerifyRemoveWithIdentifierAsyncUsingNonActiveToastIdentifier
384384

385385
if (status == winrt::Windows::Foundation::AsyncStatus::Error)
386386
{
387-
VERIFY_THROWS_HR(removeNotificationAsync.GetResults(), E_INVALIDARG);
387+
VERIFY_THROWS_HR(removeNotificationAsync.GetResults(), HRESULT_FROM_WIN32(ERROR_NOT_FOUND));
388388
}
389389

390390
scope_exit.release();

0 commit comments

Comments
 (0)