// register in the unnamed registry so that these tests are run by default
CPPUNIT_TEST_SUITE_REGISTRATION( DateTimeTestCase );
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( DateTimeTestCase, "DateTimeTestCase" );
// ============================================================================
{
// conversion failed - should it have?
WX_ASSERT_MESSAGE(
- ("Test #%lu failed: failed to parse \"%s\"", n, s),
+ ("Test #%u failed: failed to parse \"%s\"", n, s),
kind == CompareNone
);
}
result++;
WX_ASSERT_MESSAGE(
- ("Test #%lu failed: \"%s\" was left unparsed in \"%s\"",
+ ("Test #%u failed: \"%s\" was left unparsed in \"%s\"",
n, result, s),
!*result
);
{ "29 Feb 2006" },
{ "31/04/06" },
{ "bloordyblop" },
+ { "2 . . " },
};
// special cases