(filename string)
| 10 | ) |
| 11 | |
| 12 | func openFile(filename string) io.Reader { |
| 13 | f, err := os.Open(filename) |
| 14 | if err != nil { |
| 15 | panic(err) |
| 16 | } |
| 17 | return f |
| 18 | } |
| 19 | |
| 20 | func TestFileName(t *testing.T) { |
| 21 | tests := []struct { |
no outgoing calls
no test coverage detected