@@ -3255,6 +3255,7 @@ class TestIO : public TestFixture {
32553255 " }" );
32563256 ASSERT_EQUALS (" [test.cpp:2]: (warning) %hx in format string (no. 1) requires 'unsigned short' but the argument type is 'char'.\n "
32573257 " [test.cpp:2]: (warning) %hx in format string (no. 2) requires 'unsigned short' but the argument type is 'unsigned char'.\n "
3258+ " [test.cpp:2]: (warning) %hx in format string (no. 3) requires 'unsigned short' but the argument type is 'signed short'.\n "
32583259 " [test.cpp:2]: (warning) %hx in format string (no. 5) requires 'unsigned short' but the argument type is 'signed int'.\n "
32593260 " [test.cpp:2]: (warning) %hx in format string (no. 6) requires 'unsigned short' but the argument type is 'unsigned int'.\n "
32603261 " [test.cpp:2]: (warning) %hx in format string (no. 7) requires 'unsigned short' but the argument type is 'signed long'.\n "
@@ -3496,7 +3497,7 @@ class TestIO : public TestFixture {
34963497 TEST_PRINTF_WARN (" %hx" , " unsigned short" , " char" );
34973498 TEST_PRINTF_WARN (" %hx" , " unsigned short" , " signed char" );
34983499 TEST_PRINTF_WARN (" %hx" , " unsigned short" , " unsigned char" );
3499- // TODO TEST_PRINTF_WARN("%hx", "unsigned short", "signed short");
3500+ TEST_PRINTF_WARN (" %hx" , " unsigned short" , " signed short" );
35003501 TEST_PRINTF_NOWARN (" %hx" , " unsigned short" , " unsigned short" );
35013502 TEST_PRINTF_WARN (" %hx" , " unsigned short" , " signed int" );
35023503 TEST_PRINTF_WARN (" %hx" , " unsigned short" , " unsigned int" );
0 commit comments