Skip to content

Commit

Permalink
Clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamishpk committed Mar 8, 2024
1 parent 136a55d commit e7971e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mettle/api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func TestShouldDeleteJob(t *testing.T) {
shouldDelete: false,
},
{
name: "completed job within retention time doesn't expire",
name: "completed job within retention time does not expire",
job: &job{
Done: true,
LastUpdate: now.Add(-1 * time.Minute),
Expand All @@ -240,7 +240,7 @@ func TestShouldDeleteJob(t *testing.T) {
shouldDelete: true,
},
{
name: "incomplete job with no listeners within expiry time doesn't",
name: "incomplete job with no listeners within expiry time does not expire",
job: &job{
Done: false,
LastUpdate: now.Add(-59 * time.Minute),
Expand Down

0 comments on commit e7971e5

Please sign in to comment.