(t *testing.T)
| 207 | } |
| 208 | |
| 209 | func TestBoolArrayScanNil(t *testing.T) { |
| 210 | arr := BoolArray{true, true, true} |
| 211 | err := arr.Scan(nil) |
| 212 | |
| 213 | if err != nil { |
| 214 | t.Fatalf("Expected no error, got %v", err) |
| 215 | } |
| 216 | if arr != nil { |
| 217 | t.Errorf("Expected nil, got %+v", arr) |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | var BoolArrayStringTests = []struct { |
| 222 | str string |
nothing calls this directly
no test coverage detected
searching dependent graphs…