Skip to content

Commit 6d13e5a

Browse files
committed
Fix gofmt -s notice on Windows paths test file
1 parent fbca2b9 commit 6d13e5a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

paths_windows_test.go

+9-9
Original file line numberDiff line numberDiff line change
@@ -22,50 +22,50 @@ func TestDefaultBaseDirs(t *testing.T) {
2222
programData := filepath.Join(systemDrive, "ProgramData")
2323

2424
envSamples := []*envSample{
25-
&envSample{
25+
{
2626
name: "XDG_DATA_HOME",
2727
expected: localAppData,
2828
actual: &xdg.DataHome,
2929
},
30-
&envSample{
30+
{
3131
name: "XDG_DATA_DIRS",
3232
expected: []string{roamingAppData, programData},
3333
actual: &xdg.DataDirs,
3434
},
35-
&envSample{
35+
{
3636
name: "XDG_CONFIG_HOME",
3737
expected: localAppData,
3838
actual: &xdg.ConfigHome,
3939
},
40-
&envSample{
40+
{
4141
name: "XDG_CONFIG_DIRS",
4242
expected: []string{programData, roamingAppData},
4343
actual: &xdg.ConfigDirs,
4444
},
45-
&envSample{
45+
{
4646
name: "XDG_STATE_HOME",
4747
expected: localAppData,
4848
actual: &xdg.StateHome,
4949
},
50-
&envSample{
50+
{
5151
name: "XDG_CACHE_HOME",
5252
expected: filepath.Join(localAppData, "cache"),
5353
actual: &xdg.CacheHome,
5454
},
55-
&envSample{
55+
{
5656
name: "XDG_RUNTIME_DIR",
5757
expected: localAppData,
5858
actual: &xdg.RuntimeDir,
5959
},
60-
&envSample{
60+
{
6161
name: "XDG_APPLICATION_DIRS",
6262
expected: []string{
6363
filepath.Join(roamingAppData, "Microsoft", "Windows", "Start Menu", "Programs"),
6464
filepath.Join(programData, "Microsoft", "Windows", "Start Menu", "Programs"),
6565
},
6666
actual: &xdg.ApplicationDirs,
6767
},
68-
&envSample{
68+
{
6969
name: "XDG_FONT_DIRS",
7070
expected: []string{
7171
filepath.Join(systemRoot, "Fonts"),

0 commit comments

Comments
 (0)