(t *testing.T)
| 252 | } |
| 253 | |
| 254 | func TestCombineWriteSyncers(t *testing.T) { |
| 255 | tw := &testWriter{"test", t} |
| 256 | w := CombineWriteSyncers(tw) |
| 257 | _, err := w.Write([]byte("test")) |
| 258 | assert.NoError(t, err, "Unexpected write error.") |
| 259 | } |
| 260 | |
| 261 | func fileExists(name string) bool { |
| 262 | if _, err := os.Stat(name); os.IsNotExist(err) { |
nothing calls this directly
no test coverage detected