Comparison operators refactoring.

This commit is contained in:
zer0sub 2019-05-29 14:03:38 +02:00
parent 64ba909381
commit 7b89caa7e0
28 changed files with 694 additions and 384 deletions

View file

@ -56,11 +56,11 @@ INSERT INTO db.table1 (col1) VALUES
func TestInsertDate(t *testing.T) {
date := time.Date(1999, 1, 2, 3, 4, 5, 0, time.UTC)
sql, _, err := table1.INSERT(table1Col4).VALUES(date).Sql()
sql, _, err := table1.INSERT(table1ColTime).VALUES(date).Sql()
assert.NilError(t, err)
assert.Equal(t, sql, `
INSERT INTO db.table1 (col4) VALUES
INSERT INTO db.table1 (colTime) VALUES
($1);
`)
}