Skip to content

Commit

Permalink
Fixed macOS test
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed May 3, 2018
1 parent 34ff24f commit bfc03eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paths_darwin_test.go
Expand Up @@ -16,7 +16,7 @@ func TestPaths(t *testing.T) {
}{
{NewScope(System, "", "foobar"), "/Library/Application Support/foobar", "/Library/Caches/foobar", "/Library/Preferences/foobar/foobar.conf", "/Library/Logs/foobar/foobar.log"},
{NewScope(User, "", "foobar"), "~/Library/Application Support/foobar", "~/Library/Caches/foobar", "~/Library/Preferences/foobar/foobar.conf", "~/Library/Logs/foobar/foobar.log"},
{NewCustomHomeScope("/tmp", "", "foobar"), "~/Library/Application Support/foobar", "~/Library/Caches/foobar", "~/Library/Preferences/foobar/foobar.conf", "~/Library/Logs/foobar/foobar.log"},
{NewCustomHomeScope("/tmp", "", "foobar"), "/tmp/Library/Application Support/foobar", "/tmp/Library/Caches/foobar", "/tmp/Library/Preferences/foobar/foobar.conf", "/tmp/Library/Logs/foobar/foobar.log"},
}
for _, tt := range tests {
path, err := tt.scope.DataDir()
Expand Down

0 comments on commit bfc03eb

Please sign in to comment.