Commit e650d43c authored by gwenn's avatar gwenn

Fix date test.

parent 7c607295
......@@ -110,7 +110,9 @@ func TestBindTimeAsString(t *testing.T) {
err = db.OneValue("SELECT /*datetime(*/time/*)*/ FROM test where ROWID = ?", &tim, id2)
checkNoError(t, err, "error selecting TimeStamp: %s")
assertEquals(t, "TimeStamp: %s vs %s", now, tim)
if !now.Equal(tim) {
t.Errorf("TimeStamp: %s vs %s", now, tim)
}
}
func TestBindTimeAsNumeric(t *testing.T) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment