(t *testing.T)
| 42 | } |
| 43 | |
| 44 | func TestWrongCsvPath(t *testing.T) { |
| 45 | tmpPath := t.TempDir() |
| 46 | filename := fmt.Sprintf(`%s/foobar.txt`, tmpPath) |
| 47 | println(filename) |
| 48 | |
| 49 | _, err := NewCsvFileWriter(filename, []string{}) |
| 50 | if err == nil { |
| 51 | t.Fatal("the code did not return error") |
| 52 | } |
| 53 | } |
nothing calls this directly
no test coverage detected