Skip to content

Commit 080429f

Browse files
committed
fix
1 parent eac278d commit 080429f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/hooks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ func TestBeforeUpdateWithStructColumn(t *testing.T) {
641641
sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
642642
return tx.Model(&su).Update("name", "demoManito")
643643
})
644-
if sql != "UPDATE `struct_updates` SET `name`=\"demoManito\",`version`=2 WHERE `id` = 1" {
644+
if sql != "UPDATE `struct_updates` SET `name`='demoManito',`version`=2 WHERE `id` = 1" {
645645
t.Fatalf("invalid sql: %v", sql)
646646
}
647647
}

0 commit comments

Comments
 (0)