We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53b96c8 commit 4a76bceCopy full SHA for 4a76bce
tests/table_test.go
@@ -92,7 +92,7 @@ func TestTable(t *testing.T) {
92
}
93
94
r = dryDB.Table("USER U").Select("NAME").Find(&User{}).Statement
95
- if !regexp.MustCompile("SELECT NAME FROM USER U WHERE .U.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
+ if !regexp.MustCompile("SELECT .name. FROM USER U WHERE .U.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
96
t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
97
98
0 commit comments