Changeset 2218

Show
Ignore:
Timestamp:
06/08/2008 19:24:42 (4 months ago)
Author:
chris
Message:

Allow passing C strings into TEST_FAIL_WITH_MESSAGE, not just string constants.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • box/trunk/lib/common/Test.h

    r2140 r2218  
    4242        } \ 
    4343        failures++; \ 
    44         printf("FAILURE: " msg " at " __FILE__ "(%d)\n", __LINE__); \ 
     44        printf("FAILURE: %s at " __FILE__ ":%d\n", msg, __LINE__); \ 
    4545} 
    4646