Re: [PATCH] comctl32/tests: Change expect_band_content test into a macro to ensure line numbers are reported correctly on test failure.

2010-11-08 Thread Alexandre Julliard
Austin Lund writes: > +#define expect_band_content(hRebar, uBand, fStylep, clrForep, clrBackp, \ > + lpTextp, iImagep, hwndChildp, cxMinChildp, cyMinChildp, cxp, hbmBackp, \ > + wIDp, cyChildp, cyMaxChildp, cyIntegralp, cxIdealp, lParamp, cxHeaderp, > cxHeader_brokenp) \ > +{ \ > +CHAR buf[M

Re: [PATCH] comctl32/tests: Change expect_band_content test into a macro to ensure line numbers are reported correctly on test failure.

2010-11-08 Thread Nikolay Sivov
On 11/8/2010 13:29, Austin Lund wrote: --- dlls/comctl32/tests/rebar.c | 69 -- 1 files changed, 33 insertions(+), 36 deletions(-) It's better to use ok_() for that, and a one line macro to pass a line number.