msi/tests: Actually test two return values.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Michael Stefaniuc 2019-08-16 21:28:52 +02:00 committed by Alexandre Julliard
parent 0fd3b1eab9
commit 8738075da4
1 changed files with 2 additions and 2 deletions

View File

@ -2081,9 +2081,9 @@ static void test_condition(void)
ok( r == MSICONDITION_TRUE, "wrong return val (%d)\n", r);
r = MsiEvaluateConditionA(hpkg, "!nofeature=\"\"");
ok( r == MSICONDITION_TRUE, "wrong return val (%d)\n", r);
MsiEvaluateConditionA(hpkg, "$nocomponent=\"\"");
r = MsiEvaluateConditionA(hpkg, "$nocomponent=\"\"");
ok( r == MSICONDITION_TRUE, "wrong return val (%d)\n", r);
MsiEvaluateConditionA(hpkg, "?nocomponent=\"\"");
r = MsiEvaluateConditionA(hpkg, "?nocomponent=\"\"");
ok( r == MSICONDITION_TRUE, "wrong return val (%d)\n", r);
MsiSetPropertyA(hpkg, "A", "2");