Skip to content

Commit

Permalink
chore: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Dec 20, 2024
1 parent 7f83a4e commit d687344
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions internal/stage_r1.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ func testR1(stageHarness *test_case_harness.TestCaseHarness) error {
randomWords := random.RandomWords(3)
slices.Sort(randomWords)
filePaths := []string{
path.Join(lsDir, fmt.Sprintf("%s", randomWords[0])),
path.Join(lsDir, fmt.Sprintf("%s", randomWords[1])),
path.Join(lsDir, fmt.Sprintf("%s", randomWords[2])),
path.Join(lsDir, randomWords[0]),
path.Join(lsDir, randomWords[1]),
path.Join(lsDir, randomWords[2]),
}
fileContents := []string{
randomWords[0] + "\n",
Expand Down
2 changes: 1 addition & 1 deletion internal/stage_r2.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func testR2(stageHarness *test_case_harness.TestCaseHarness) error {
randomWords := random.RandomWords(1)
slices.Sort(randomWords)
filePaths := []string{
path.Join(lsDir, fmt.Sprintf("%s", randomWords[0])),
path.Join(lsDir, randomWords[0]),
}
fileContents := []string{
randomWords[0] + "\n",
Expand Down
6 changes: 3 additions & 3 deletions internal/stage_r3.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ func testR3(stageHarness *test_case_harness.TestCaseHarness) error {
randomWords := random.RandomWords(3)
slices.Sort(randomWords)
filePaths := []string{
path.Join(lsDir, fmt.Sprintf("%s", randomWords[0])),
path.Join(lsDir, fmt.Sprintf("%s", randomWords[1])),
path.Join(lsDir, fmt.Sprintf("%s", randomWords[2])),
path.Join(lsDir, randomWords[0]),
path.Join(lsDir, randomWords[1]),
path.Join(lsDir, randomWords[2]),
}
fileContents := []string{
randomWords[0] + "\n",
Expand Down
6 changes: 3 additions & 3 deletions internal/stage_r4.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ func testR4(stageHarness *test_case_harness.TestCaseHarness) error {
randomWords := random.RandomWords(3)
slices.Sort(randomWords)
filePaths := []string{
path.Join(lsDir, fmt.Sprintf("%s", randomWords[0])),
path.Join(lsDir, fmt.Sprintf("%s", randomWords[1])),
path.Join(lsDir, fmt.Sprintf("%s", randomWords[2])),
path.Join(lsDir, randomWords[0]),
path.Join(lsDir, randomWords[1]),
path.Join(lsDir, randomWords[2]),
}
fileContents := []string{
randomWords[0] + "\n",
Expand Down

0 comments on commit d687344

Please sign in to comment.