Skip to content

Commit

Permalink
test: remove redundant filepath.Clean call (#1675)
Browse files Browse the repository at this point in the history
  • Loading branch information
wholesome-ghoul authored Sep 25, 2023
1 parent e9d0aa5 commit 1460377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format/format_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func setup(t *testing.T) *fixture {
}

func (fx *fixture) isFormatted(file string) bool {
contents, err := os.ReadFile(filepath.Join(fx.basedir, filepath.Clean(file)))
contents, err := os.ReadFile(filepath.Join(fx.basedir, file))
if err != nil {
fx.t.Fatal(err)
}
Expand Down

0 comments on commit 1460377

Please sign in to comment.