Skip to content

Commit

Permalink
Fixed Windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed May 3, 2018
1 parent b22f05e commit 34ff24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paths_windows_test.go
Expand Up @@ -16,7 +16,7 @@ func TestPaths(t *testing.T) {
}{
{NewScope(System, "", "foobar"), "C:\\ProgramData\\foobar", "C:\\ProgramData\\foobar\\Cache", "C:\\ProgramData\\foobar\\Config\\foobar.conf", "C:\\ProgramData\\foobar\\Logs\\foobar.log"},
{NewScope(User, "", "foobar"), "C:\\Users\\appveyor\\AppData\\Local\\foobar", "C:\\Users\\appveyor\\AppData\\Local\\foobar\\Cache", "C:\\Users\\appveyor\\AppData\\Local\\foobar\\Config\\foobar.conf", "C:\\Users\\appveyor\\AppData\\Local\\foobar\\Logs\\foobar.log"},
{NewCustomHomeScope("C:\\tmp", "", "foobar"), "C:\\tmp\\foobar", "C:\\tmp\\Cache", "C:\\tmp\\Config\\foobar.conf", "C:\\tmp\\Logs\\foobar.log"},
{NewCustomHomeScope("C:\\tmp", "", "foobar"), "C:\\tmp", "C:\\tmp\\Cache", "C:\\tmp\\Config\\foobar.conf", "C:\\tmp\\Logs\\foobar.log"},
}
for _, tt := range tests {
path, err := tt.scope.DataDir()
Expand Down

0 comments on commit 34ff24f

Please sign in to comment.