Fix broken unittest.
Was probably broken by a change in Qt. Now using custom parser. (I also tested a regex based parser but that was more then 80 times slower)
This commit is contained in:
parent
c346430b25
commit
23e61c6c95
2 changed files with 48 additions and 3 deletions
|
|
@ -49,9 +49,9 @@ TEST(Pgsql_Value, test_QTime)
|
|||
|
||||
TEST(Pgsql_Value, test_QTimeMS)
|
||||
{
|
||||
Pgsql::Value v("09:38:17.339817+02", timetz_oid);
|
||||
Pgsql::Value v("09:38:17.339+02:00", timetz_oid);
|
||||
QTime t = v;
|
||||
ASSERT_EQ(t, QTime(9, 38, 17, 340));
|
||||
ASSERT_EQ(t, QTime(9, 38, 17, 339));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue