On Mon, Sep 8, 2008 at 4:41 AM, James Hawkins truiken@gmail.com wrote:
On Mon, Sep 8, 2008 at 4:38 AM, Markus Hitter mah@jump-ing.de wrote:
Am 08.09.2008 um 01:30 schrieb James Hawkins:
For example, the following is significantly easier to read:
ok(result == ERROR_BUFFER_TOO_SMALL || result == ERROR_INVALID_USER_BUFFER || /* win98 */ result == ERROR_INVALID_DATA, /* Vista */ "Expected ERROR_BUFFER_TOO_SMALL, got %08d\n", result);
Wouldn't it be even better to print the expected number in the same format as the actually received result?
Yes, the %08d should just be %d....I just copied the first example I could find in my git log.
I'm sorry, I thought you were asking about the %08d i.e. the format of the value. My answer to your actual question is no as explained in my previous email.