https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1d8c567996f75e226eee7…
commit 1d8c567996f75e226eee78d0a31fdad5d0dc49ab
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sun Aug 9 11:07:55 2020 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sun Aug 9 11:07:55 2020 +0900
[SHELL32_APITEST] Improve DoAction8 of SHChangeNotify testcase
CORE-13950
---
modules/rostests/apitests/shell32/SHChangeNotify.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/rostests/apitests/shell32/SHChangeNotify.cpp
b/modules/rostests/apitests/shell32/SHChangeNotify.cpp
index b800eaab328..229a221037e 100644
--- a/modules/rostests/apitests/shell32/SHChangeNotify.cpp
+++ b/modules/rostests/apitests/shell32/SHChangeNotify.cpp
@@ -85,7 +85,8 @@ DoAction7(void)
static void
DoAction8(void)
{
- ok_int(RemoveDirectoryW(s_dir1), TRUE);
+ BOOL ret = RemoveDirectoryW(s_dir1);
+ ok(ret, "RemoveDirectoryW failed. GetLastError() == %ld\n",
GetLastError());
}
static const TEST_ENTRY s_TestEntriesMode0[] =