Skip to content

Commit

Permalink
delete minor unreachable code caused by t.Fatal
Browse files Browse the repository at this point in the history
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
  • Loading branch information
Abirdcfly authored Aug 10, 2022
1 parent 6a9bb39 commit 4f8bf71
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion reloader/reloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func TestNoRead(t *testing.T) {
_, err := New(f.Name(), noop, testErrCb(t))
if err == nil {
t.Fatalf("Expected New to return error when permission denied.")
readFile = oldReadFile
}
readFile = oldReadFile
}
Expand Down

0 comments on commit 4f8bf71

Please sign in to comment.