Add test for - Special characters are not working in postgres password(for generator)

https://github.com/go-jet/jet/issues/95
This commit is contained in:
go-jet 2021-10-04 10:48:07 +02:00
parent 8adfe45e38
commit 3015b79926
2 changed files with 44 additions and 1 deletions

View file

@ -155,7 +155,7 @@ func TestInsert_ON_CONFLICT(t *testing.T) {
ON_CONFLICT(table1ColBool).WHERE(table1ColBool.IS_NOT_FALSE()).DO_UPDATE(
SET(table1ColBool.SET(Bool(true)),
table2ColInt.SET(Int(1)),
ColumnList{table1Col1, table1ColBool}.SET(jet.ROW(Int(2), String("two"))),
ColumnList{table1Col1, table1ColBool}.SET(ROW(Int(2), String("two"))),
).WHERE(table1Col1.GT(Int(2))),
).
RETURNING(table1Col1, table1ColBool)