Closed col closed 4 years ago
@col I had the same issues on my CI -- I posted another PR (#153) which is essentially a dupe, but it can be merged as yours has merge conflicts with develop
. I can close mine if you'd like to solve your merge conflicts.
What is the status of this? I will fix the merge conflicts but I haven't seen any movement here.
Just stumbled back across this. I've now resolved the conflicts and would still really like to see this get merged and released. 🙏
@packrat386 thoughts here?
Ping! cc @wpolicarpo
Sorry this took to so long to get to. #153 has been pulled into the latest release (3.1.0), which should address this issue. Gonna close this PR for now, but feel free to re-open if you're still seeing problems.
Doing string comparisons here is problematic plus it's confusing as the output displayed when the matcher fails displays the time as a unix epoch float.
This changes the
at
matcher to use.to_f
so that the comparison matches the users expectations.I decided to make the
in
matcher useto_i
as it would be impossible to compare (with millisecond precision) the exact same time based on something likeThere are several open issues related to this: #133 #138 #124
There is also an existing pull request but I don't agree with this implementation: #146