Tests: name the struct test for a field tagged with a column as that column
Tests / vet + fmt + tests (pull_request) Successful in 1m2s
Tests / vet + fmt + tests (pull_request) Successful in 1m2s
This commit is contained in:
+1
-1
@@ -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++ {
|
||||
|
||||
Reference in New Issue
Block a user