Alexandre Julliard : ole32/tests: Don't hardcode the Ansi codepage value.

Alexandre Julliard julliard at winehq.org
Fri Nov 14 07:54:46 CST 2008


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Nov 13 21:45:41 2008 +0100

ole32/tests: Don't hardcode the Ansi codepage value.

---

 dlls/ole32/tests/stg_prop.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/ole32/tests/stg_prop.c b/dlls/ole32/tests/stg_prop.c
index a7024b3..c4e2d0c 100644
--- a/dlls/ole32/tests/stg_prop.c
+++ b/dlls/ole32/tests/stg_prop.c
@@ -408,8 +408,7 @@ static void testCodepage(void)
     /* check code page before it's been explicitly set */
     hr = IPropertyStorage_ReadMultiple(propertyStorage, 1, &spec, &var);
     ok(hr == S_OK, "ReadMultiple failed: 0x%08x\n", hr);
-    ok(var.vt == VT_I2 && U(var).iVal == 1252,
-     "Didn't get expected type or value for property\n");
+    ok(var.vt == VT_I2, "Didn't get expected type for property (%u)\n", var.vt);
     /* Set code page to Unicode */
     U(var).iVal = 1200;
     hr = IPropertyStorage_WriteMultiple(propertyStorage, 1, &spec, &var, 0);




More information about the wine-cvs mailing list