Dmitry Timoshkov : kernel32/tests: Fix a couple of typos.

Alexandre Julliard julliard at winehq.org
Tue Jul 2 14:31:28 CDT 2013


Module: wine
Branch: master
Commit: b0a3d93400f90a06da8ba314ed37a9e2b75a9293
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b0a3d93400f90a06da8ba314ed37a9e2b75a9293

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Jul  2 10:24:23 2013 +0900

kernel32/tests: Fix a couple of typos.

---

 dlls/kernel32/tests/virtual.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/tests/virtual.c b/dlls/kernel32/tests/virtual.c
index 521ce6e..e605242 100644
--- a/dlls/kernel32/tests/virtual.c
+++ b/dlls/kernel32/tests/virtual.c
@@ -712,8 +712,8 @@ static void test_MapViewOfFile(void)
     ok(info.BaseAddress == ptr, "BaseAddress should have been %p but was %p instead\n", ptr, info.BaseAddress);
     ok(info.AllocationBase == ptr, "AllocationBase should have been %p but was %p instead\n", ptr, info.AllocationBase);
     ok(info.RegionSize == 0x10000, "RegionSize should have been 0x10000 but was 0x%lx\n", info.RegionSize);
-    ok(info.State == MEM_COMMIT, "State should have been MEM_RESERVE instead of 0x%x\n", info.State);
-    ok(info.Protect == PAGE_READONLY, "Protect should have been 0 instead of 0x%x\n", info.Protect);
+    ok(info.State == MEM_COMMIT, "State should have been MEM_COMMIT instead of 0x%x\n", info.State);
+    ok(info.Protect == PAGE_READONLY, "Protect should have been PAGE_READONLY instead of 0x%x\n", info.Protect);
     if (info.Type == MEM_PRIVATE)  /* win9x is different for uncommitted mappings */
     {
         ok(info.AllocationProtect == PAGE_NOACCESS,




More information about the wine-cvs mailing list