Commit 39dfd38d authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

vbscript/tests: Fix operator priority in ok() condition.

parent 11c2f370
......@@ -561,7 +561,7 @@ static void test_safearray(SAFEARRAY *safearray, unsigned indims)
ok(!safearray->cLocks, "safearray->cLocks = %x\n", safearray->cLocks);
for(i=0; i < safearray->cDims; i++) {
ok(safearray->rgsabound[i].cElements == indims ? i+4 : 1, "safearray->rgsabound[%d].cElements = %d\n", i,
ok(safearray->rgsabound[i].cElements == (indims ? i+4 : 1), "safearray->rgsabound[%d].cElements = %d\n", i,
safearray->rgsabound[i].cElements);
ok(!safearray->rgsabound[i].lLbound, "safearray->rgsabound[%d].lLbound = %d\n", i, safearray->rgsabound[i].lLbound);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment