Skip to content

Commit 45a1a23

Browse files
committed
lint fix
1 parent 5397f77 commit 45a1a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/domain/class_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func TestFSClass_SetContent_WritesToFile(t *testing.T) {
6565
expected := "class Wrïtë { int ä = 42; }"
6666
err := class.SetContent(expected)
6767
require.NoError(t, err, "SetContent unexpectedly returned an error")
68-
content, err := os.ReadFile(path)
68+
content, err := os.ReadFile(filepath.Clean(path))
6969
require.NoError(t, err, "failed to read test file")
7070
assert.Equal(t, expected, string(content), "File content must match the updated value")
7171
}

0 commit comments

Comments
 (0)