Vitaly Lipatov : ole32/tests: Do not compare returned by DeleteFile value with TRUE.
Module: wine Branch: refs/heads/master Commit: a8397e307a6b9a1216c8dc12615d3d02dca8fa62 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a8397e307a6b9a1216c8dc12... Author: Vitaly Lipatov <lav(a)etersoft.ru> Date: Thu Feb 23 16:31:59 2006 +0300 ole32/tests: Do not compare returned by DeleteFile value with TRUE. --- dlls/ole32/tests/storage32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ole32/tests/storage32.c b/dlls/ole32/tests/storage32.c index 235ca63..4ac4144 100644 --- a/dlls/ole32/tests/storage32.c +++ b/dlls/ole32/tests/storage32.c @@ -312,7 +312,7 @@ static void test_storage_stream(void) r = IStorage_Release(stg); ok(r == 0, "wrong ref count\n"); r = DeleteFileW(filename); - ok(r == TRUE, "file should exist\n"); + ok(r, "file should exist\n"); } static BOOL touch_file(LPCWSTR filename)
participants (1)
-
Alexandre Julliard