Skip to content

Commit

Permalink
fix test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
creativeprojects committed Sep 25, 2023
1 parent 4c8799c commit 08966a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schtasks/taskscheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ func TestCreationOfTasks(t *testing.T) {
// user logged in doesn't need a password
err = createUserLoggedOnTask(scheduleConfig, schedules)
assert.NoError(t, err)
defer Delete(scheduleConfig.Title, scheduleConfig.SubTitle)
defer Delete(scheduleConfig.ProfileName, scheduleConfig.CommandName)

taskName := getTaskPath(scheduleConfig.Title, scheduleConfig.SubTitle)
taskName := getTaskPath(scheduleConfig.ProfileName, scheduleConfig.CommandName)
buffer, err := exportTask(taskName)
assert.NoError(t, err)

Expand Down

0 comments on commit 08966a6

Please sign in to comment.