Re: comctl32/tests: Use a function instead of a macro for CheckSize test

2011-02-08 Thread Vitaliy Margolen
On 02/08/2011 04:45 PM, EG Galano wrote: This fixes the warnings: comctl32/tests/tab.c:525: warning: logical `&&' with non-zero constant will always evaluate as true comctl32/tests/tab.c:545: warning: logical `&&' with non-zero constant will always evaluate as true comctl32/tests/tab.c:568: warni

Re: comctl32/tests: Use a function instead of a macro for CheckSize test

2011-02-08 Thread Nikolay Sivov
On 2/9/2011 02:45, EG Galano wrote: Main problem with that - you will lost ok() context in test output, line numbers will be always the same. Look like it's resolved in other places - a thin macro to pass a line number to a function and ok_(, ) test inside.