msvfw32/tests: Simplify swapped-case test.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2018-02-09 10:16:10 -06:00 committed by Alexandre Julliard
parent c6dfce2723
commit f4ebb7d57d
1 changed files with 3 additions and 12 deletions

View File

@ -303,18 +303,9 @@ static void test_ICInfo(void)
found++;
/* Test getting info with a different case - bug 41602 */
if (fcc[0] & 0x20)
{
fcc[0] &= ~0x20;
ok(ICInfo(info.fccType, info.fccHandler, &info2),
"ICInfo failed on fcc 0x%08x using lowercase fccHandler\n", info.fccHandler);
}
else
{
fcc[0] |= 0x20;
ok(ICInfo(info.fccType, info.fccHandler, &info2),
"ICInfo failed on fcc 0x%08x using uppercase fccHandler\n", info.fccHandler);
}
fcc[0] ^= 0x20;
ok(ICInfo(info.fccType, info.fccHandler, &info2),
"ICInfo failed on fcc 0x%08x\n", info.fccHandler);
}
ok(found != 0, "expected at least one codec\n");
}