Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue-742: bug in NextRun #743

Merged
merged 2 commits into from
Jun 21, 2024
Merged

issue-742: bug in NextRun #743

merged 2 commits into from
Jun 21, 2024

Conversation

rbroggi
Copy link
Contributor

@rbroggi rbroggi commented Jun 21, 2024

What does this do?

Which issue(s) does this PR fix/relate to?

Demonstrates #742

List any changes that modify/break current functionality

Have you included tests for your changes?

Did you document any new/modified functionality?

  • Updated example_test.go
  • Updated README.md

Notes

// we need to remove any that are in the past.
if len(j.nextScheduled) > 1 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

fakeClock clockwork.FakeClock
assertErr require.ErrorAssertionFunc
// asserts things about schedules, advance time and perform new assertions
advanceAndAsserts []func(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like how you set up this test!

@JohnRoesler JohnRoesler merged commit 7c391d4 into go-co-op:v2 Jun 21, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants