Module: wine Branch: master Commit: 9bfd58a5c97d471d6453c64bb492974313280d5d URL: http://source.winehq.org/git/wine.git/?a=commit;h=9bfd58a5c97d471d6453c64bb4...
Author: Michael Stefaniuc mstefani@redhat.de Date: Tue Jan 20 00:15:56 2015 +0100
oleaut32/tests: Uncomment and fix a test (PVS-Studio).
---
dlls/oleaut32/tests/vartest.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c index d15adcb..118aa75 100644 --- a/dlls/oleaut32/tests/vartest.c +++ b/dlls/oleaut32/tests/vartest.c @@ -1383,11 +1383,13 @@ static void test_VarParseNumFromStr(void)
/* VB oct char bigger than 7 */ CONVERT("&o128", NUMPRS_HEX_OCT); -/* - Native versions 2.x of oleaut32 allow this to succeed: later versions and Wine don't - EXPECTFAIL; - EXPECTRGB(0,FAILDIG); -*/ + todo_wine { + EXPECT(2,NUMPRS_HEX_OCT,0x40,4,3,0); + EXPECTRGB(0,1); + EXPECTRGB(1,2); + } + EXPECTRGB(3,FAILDIG); + /** NUMPRS_PARENS **/
/* Empty parens = error */