Fix calls to Raw and RawG
This commit is contained in:
parent
0abfe1cba6
commit
78de983d7d
2 changed files with 2 additions and 149 deletions
queries
|
@ -373,7 +373,7 @@ func TestAppendSelect(t *testing.T) {
|
|||
func TestSQL(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
q := SQL(&sql.DB{}, "thing", 5)
|
||||
q := Raw(&sql.DB{}, "thing", 5)
|
||||
if q.rawSQL.sql != "thing" {
|
||||
t.Errorf("Expected %q, got %s", "thing", q.rawSQL.sql)
|
||||
}
|
||||
|
@ -385,7 +385,7 @@ func TestSQL(t *testing.T) {
|
|||
func TestSQLG(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
q := SQLG("thing", 5)
|
||||
q := RawG("thing", 5)
|
||||
if q.rawSQL.sql != "thing" {
|
||||
t.Errorf("Expected %q, got %s", "thing", q.rawSQL.sql)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue