Skip to content

Commit

Permalink
Minor non-existent runtime directory test case fix on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
adrg committed Oct 29, 2024
1 parent 9bbb602 commit 221e506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,5 +214,5 @@ func TestNonExistentRuntimeDir(t *testing.T) {

p, err := xdg.RuntimeFile("app.pid")
require.NoError(t, err)
require.Equal(t, os.TempDir(), filepath.Dir(p))
require.Equal(t, filepath.Clean(os.TempDir()), filepath.Dir(p))
}

0 comments on commit 221e506

Please sign in to comment.