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 eac278d commit 080429fCopy full SHA for 080429f
tests/hooks_test.go
@@ -641,7 +641,7 @@ func TestBeforeUpdateWithStructColumn(t *testing.T) {
641
sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
642
return tx.Model(&su).Update("name", "demoManito")
643
})
644
- if sql != "UPDATE `struct_updates` SET `name`=\"demoManito\",`version`=2 WHERE `id` = 1" {
+ if sql != "UPDATE `struct_updates` SET `name`='demoManito',`version`=2 WHERE `id` = 1" {
645
t.Fatalf("invalid sql: %v", sql)
646
}
647
0 commit comments