Skip to content

Commit

Permalink
TryUntilf test addition, coverage back to 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
philpennock committed Oct 30, 2016
1 parent bfb411b commit ca1ec5a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions timeout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ func TestT_TryUntilPasses(t *testing.T) {
})
}

func TestT_TryUntilfPasses(t *testing.T) {
t.Parallel()
m, T := testSetup()
m.CheckPass(t, func() {
T.TryUntilf(func() bool { return true }, time.Second, "foo %d", 1)
})
}

func TestT_TryUntilFails(t *testing.T) {
t.Parallel()
m, T := testSetup()
Expand Down

0 comments on commit ca1ec5a

Please sign in to comment.