mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
fixed GH #363: DateTimeParser tryParse/parse
This commit is contained in:
@@ -969,7 +969,7 @@ void StringTest::testIntToString()
|
||||
{
|
||||
char pResult[POCO_MAX_INT_STRING_LEN];
|
||||
std::size_t sz = POCO_MAX_INT_STRING_LEN;
|
||||
intToStr(0, 10, pResult, sz, false, sz + 1, ' ');
|
||||
intToStr(0, 10, pResult, sz, false, (int) sz + 1, ' ');
|
||||
fail ("must throw RangeException");
|
||||
} catch (RangeException&) { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user