cabinet/tests: Reformated output in case of test failure (try 3)
Alexandre Julliard
julliard at winehq.org
Mon Oct 11 05:13:44 CDT 2010
Marko Nikolic <grkoma at gmail.com> writes:
> @@ -109,9 +109,9 @@ static void test_FDICreate(void)
> ok(hfdi != NULL, "Expected non-NULL context\n");
> ok(GetLastError() == 0xdeadbeef,
> "Expected 0xdeadbeef, got %d\n", GetLastError());
> - ok(erf.erfOper == 0x1abe11ed, "Expected 0x1abe11ed, got %d\n", erf.erfOper);
> - ok(erf.erfType == 0x5eed1e55, "Expected 0x5eed1e55, got %d\n", erf.erfType);
> - ok(erf.fError == 0x1ead1e55, "Expected 0x1ead1e55, got %d\n", erf.fError);
> + ok(erf.erfOper == 0x1abe11ed, "Expected 0x1abe11ed, got %x\n", erf.erfOper);
> + ok(erf.erfType == 0x5eed1e55, "Expected 0x5eed1e55, got %x\n", erf.erfType);
> + ok(erf.fError == 0x1ead1e55, "Expected 0x1ead1e55, got %x\n", erf.fError);
Most of these are error codes too, they should be in decimal. I don't
see why you want to change this at all. If you think having the expected
value printed in hex is confusing just get rid of it, it's useless
anyway.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list