From b6a152917126d0ed3d985e0866c56f691236de69 Mon Sep 17 00:00:00 2001 From: Joris Huizer Date: Sat, 15 Mar 2008 18:54:08 +0100 Subject: [PATCH] qmgr/tests: Test the correct handle. --- dlls/qmgr/tests/job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/qmgr/tests/job.c b/dlls/qmgr/tests/job.c index cc64b0c7d6a..fe58fa3398a 100644 --- a/dlls/qmgr/tests/job.c +++ b/dlls/qmgr/tests/job.c @@ -319,7 +319,7 @@ static void compareFiles(WCHAR *n1, WCHAR *n2) f2 = CreateFileW(n2, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); - ok(f1 != INVALID_HANDLE_VALUE, "CreateFile\n"); + ok(f2 != INVALID_HANDLE_VALUE, "CreateFile\n"); /* Neither of these files is very big */ ok(ReadFile(f1, b1, sizeof b1, &s1, NULL), "ReadFile\n");