Module: wine Branch: master Commit: 5561ee635c02a794cde8811d6c84f4a0cf9b93bd URL: http://source.winehq.org/git/wine.git/?a=commit;h=5561ee635c02a794cde8811d6c...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Jan 12 13:48:00 2012 +0100
jscript: Fixed jscript tests on some broken versions.
---
dlls/jscript/tests/jscript.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/jscript/tests/jscript.c b/dlls/jscript/tests/jscript.c index 152329b..7c81328 100644 --- a/dlls/jscript/tests/jscript.c +++ b/dlls/jscript/tests/jscript.c @@ -644,7 +644,7 @@ static void test_aggregation(void) &IID_IUnknown, (void**)&unk); ok(hres == CLASS_E_NOAGGREGATION || broken(E_INVALIDARG) /* win2k */, "CoCreateInstance failed: %08x, expected CLASS_E_NOAGGREGATION\n", hres); - ok(!unk, "unk = %p\n", unk); + ok(!unk || broken(unk != NULL), "unk = %p\n", unk); }
static BOOL check_jscript(void)