Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
petemoore committed Jul 11, 2023
1 parent 7a585f1 commit 28972cc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions workers/generic-worker/helper_posix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ func returnExitCode(exitCode uint) [][]string {
}
}

func sleep(seconds uint) [][]string {
return [][]string{
{
"sleep",
strconv.Itoa(int(seconds)),
},
}
}

func copyTestdataFile(path string) [][]string {
return copyTestdataFileTo(path, path)
}
Expand Down Expand Up @@ -137,3 +128,12 @@ func goRun(goFile string, args ...string) [][]string {
runWithArgs := append(run, args...)
return append(copy, runWithArgs)
}

func sleep(seconds uint) [][]string {
return [][]string{
{
"sleep",
strconv.Itoa(int(seconds)),
},
}
}

0 comments on commit 28972cc

Please sign in to comment.