Skip to content

Commit 5010b3f

Browse files
committed
update failure message for user2 saved record found
1 parent 595ac0b commit 5010b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/transaction_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func TestDeeplyNestedTransactionWithBlockAndWrappedCallback(t *testing.T) {
386386
}
387387

388388
if err := tx.First(&User{}, "\"name\" = ?", user2.Name).Error; err != nil {
389-
t.Fatalf("Should not find saved record")
389+
t.Fatalf("Should find saved record")
390390
}
391391
return nil
392392
}); err != nil {

0 commit comments

Comments
 (0)