avifil32/tests: Remove a couple of unnecessary tests.

Sebastian Lackner sebastian at fds-team.de
Thu Feb 11 00:12:01 CST 2016


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

Seems like someone wanted to be very sure that it works. ;)

 dlls/avifil32/tests/api.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/dlls/avifil32/tests/api.c b/dlls/avifil32/tests/api.c
index 552a356..137062ad8 100644
--- a/dlls/avifil32/tests/api.c
+++ b/dlls/avifil32/tests/api.c
@@ -371,11 +371,6 @@ static void test_default_data(void)
     create_avi_file(&cah, filename);
 
     res = AVIFileOpenA(&pFile, filename, OF_SHARE_DENY_WRITE, 0L);
-    ok(res != AVIERR_BADFORMAT, "Unable to open file: error1=%u\n", AVIERR_BADFORMAT);
-    ok(res != AVIERR_MEMORY, "Unable to open file: error2=%u\n", AVIERR_MEMORY);
-    ok(res != AVIERR_FILEREAD, "Unable to open file: error3=%u\n", AVIERR_FILEREAD);
-    ok(res != AVIERR_FILEOPEN, "Unable to open file: error4=%u\n", AVIERR_FILEOPEN);
-    ok(res != REGDB_E_CLASSNOTREG, "Unable to open file: error5=%u\n", REGDB_E_CLASSNOTREG);
     ok(res == 0, "Unable to open file: error=%u\n", res);
 
     res = AVIFileGetStream(pFile, &pStream0, 0, 0);
-- 
2.7.1



More information about the wine-patches mailing list