Skip to content

Commit 6ac3bb3

Browse files
authored
fix: Linter warning (#49)
1 parent 9ea9d3d commit 6ac3bb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/puzzles/name_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package puzzles
22

33
import (
4-
"os"
4+
"path/filepath"
55
"testing"
66

77
"github.com/stretchr/testify/assert"
@@ -25,7 +25,7 @@ func TestMakeName(t *testing.T) {
2525
year: "2019",
2626
puzzle: "day01",
2727
},
28-
want: "2019" + string(os.PathSeparator) + "day01",
28+
want: filepath.Join("2019", "day01"),
2929
wantErr: false,
3030
},
3131
{

0 commit comments

Comments
 (0)