Skip to content

Commit 4f8bf71

Browse files
authored
delete minor unreachable code caused by t.Fatal
Signed-off-by: Abirdcfly <[email protected]>
1 parent 6a9bb39 commit 4f8bf71

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

reloader/reloader_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ func TestNoRead(t *testing.T) {
4343
_, err := New(f.Name(), noop, testErrCb(t))
4444
if err == nil {
4545
t.Fatalf("Expected New to return error when permission denied.")
46-
readFile = oldReadFile
4746
}
4847
readFile = oldReadFile
4948
}

0 commit comments

Comments
 (0)