Skip to content

Commit

Permalink
Revert "Clean up tempfile after test"
Browse files Browse the repository at this point in the history
This reverts commit 448c68f.
  • Loading branch information
Akshay Shah committed Mar 13, 2017
1 parent 448c68f commit fe6ede6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zapcore/write_syncer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,8 @@ func TestCheckSync(t *testing.T) {
t.SkipNow()
return
}
defer os.Remove(tmpFile.Name())
defer tmpFile.Close()
assert.True(t, checkSync(tmpFile), "Expected temp file to pass sync check")
assert.True(t, checkSync(tmpFile), "Expected os.Stderr to fail sync check")
}

func TestMultiWriteSyncerWritesBoth(t *testing.T) {
Expand Down

0 comments on commit fe6ede6

Please sign in to comment.