Skip to content

Commit

Permalink
Update rhythm/spec_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Josh van Leeuwen <me@joshvanl.dev>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
  • Loading branch information
artursouza and JoshVanL authored Mar 18, 2024
1 parent c740fbb commit 1dd7b78
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rhythm/spec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,7 @@ func TestNextWithDelayedStart(t *testing.T) {

for _, c := range runs {
sched, err := Parse(c.spec)
if err != nil {
t.Error(err)
continue
}
require.NoError(t, err)

Check failure on line 203 in rhythm/spec_test.go

View workflow job for this annotation

GitHub Actions / Build and Test

undefined: require
actual := sched.Next(getTime(c.start), getTime(c.time))
expected := getTime(c.expected)
if !actual.Equal(expected) {
Expand Down

0 comments on commit 1dd7b78

Please sign in to comment.