Tests: name the struct test for a field tagged with a column as that column
Tests / vet + fmt + tests (pull_request) Successful in 1m2s

This commit is contained in:
2026-09-15 20:48:12 +02:00
parent b4ebab5abf
commit 2a750008bf
+1 -1
View File
@@ -59,7 +59,7 @@ func structData(t *testing.T) *Generator {
}), WithSeed(1))
}
func TestFakeStructReadsAColumnWhole(t *testing.T) {
func TestFakeStructFieldTaggedWithAColumnIsThatColumn(t *testing.T) {
f := structData(t)
nils := map[string]int{}
for i := 0; i < 200; i++ {