A column of one reference alone takes the datatype and null of the column it reads #15
+1
-1
@@ -59,7 +59,7 @@ func structData(t *testing.T) *Generator {
|
|||||||
}), WithSeed(1))
|
}), WithSeed(1))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestFakeStructReadsAColumnWhole(t *testing.T) {
|
func TestFakeStructFieldTaggedWithAColumnIsThatColumn(t *testing.T) {
|
||||||
f := structData(t)
|
f := structData(t)
|
||||||
nils := map[string]int{}
|
nils := map[string]int{}
|
||||||
for i := 0; i < 200; i++ {
|
for i := 0; i < 200; i++ {
|
||||||
|
|||||||
Reference in New Issue
Block a user