msvcp120/tests: Avoid using the comma operator.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
474a6771ba
commit
9f3a187f9c
|
@ -924,13 +924,13 @@ static void test_xtime_get(void)
|
|||
}
|
||||
|
||||
/* Test parameter and return value */
|
||||
before.sec = 0xdeadbeef, before.nsec = 0xdeadbeef;
|
||||
before.sec = 0xdeadbeef; before.nsec = 0xdeadbeef;
|
||||
i = p_xtime_get(&before, 0);
|
||||
ok(i == 0, "expect xtime_get() to return 0, got: %d\n", i);
|
||||
ok(before.sec == 0xdeadbeef && before.nsec == 0xdeadbeef,
|
||||
"xtime_get() shouldn't have modified the xtime struct with the given option\n");
|
||||
|
||||
before.sec = 0xdeadbeef, before.nsec = 0xdeadbeef;
|
||||
before.sec = 0xdeadbeef; before.nsec = 0xdeadbeef;
|
||||
i = p_xtime_get(&before, 1);
|
||||
ok(i == 1, "expect xtime_get() to return 1, got: %d\n", i);
|
||||
ok(before.sec != 0xdeadbeef && before.nsec != 0xdeadbeef,
|
||||
|
|
Loading…
Reference in New Issue