fix XP/VS2003 tests

This commit is contained in:
Aleksandar Fabijanic
2012-12-20 21:18:06 -06:00
parent 9a67596f00
commit 16533ef73b
2 changed files with 10 additions and 4 deletions

View File

@@ -230,8 +230,11 @@ void NumberParserTest::testLimits()
void NumberParserTest::testParseError()
{
const char dp = decimalSeparator();
const char ts = thousandSeparator();
char dp = decimalSeparator();
if (dp == 0) dp = '.';
char ts = thousandSeparator();
if (ts == 0) ts = ',';
assert (dp != ts);
try
{