go-co-op / gocron

Easy and fluent Go cron scheduling. This is a fork from https://github.com/jasonlvhit/gocron
MIT License
5.59k stars 308 forks source link

[BUG] - `gocronmocks.MockScheduler` does not implement `gocron.Scheduler` (missing method `JobsWaitingInQueue`) #782

Closed wandering-tales closed 2 weeks ago

wandering-tales commented 2 weeks ago

Describe the bug

I think #721 broke the gocronmocks.MockScheduler type as the latter does not implement the gocron.Scheduler interface

To Reproduce

None.

Version

gocron: 2.12.1 (latest) gocronmocks: 2.0.0 (latest)

Expected behavior

No compiling errors when trying to pass a MockScheduler via the Scheduler interface.

Additional context

None.

wandering-tales commented 2 weeks ago

Fixed in #721