Run options: --seed 52579
# Running:
...........................................................E...E..E..............................................................E.Unable to find a high resolution clock. Using CLOCK_REALTIME for timing.
RUBY_DESCRIPTION: ruby 4.0.1 (2026-01-13 revision e04267a14b) +PRISM [x86_64-linux]
Please report the above information to the hitimes issue tracker at
https://github.com/copiousfreetime/hitimes/issues
....
Finished in 0.730510s, 184.8023 runs/s, 349.0711 assertions/s.
1) Error:
Hitimes::Interval#test_0007_raises an error if measure is called with no block:
TypeError: class or module required for rescue clause. Got [Hitimes::Error, /\ANo block given to Interval.measure\Z/]
spec/interval_spec.rb:51:in 'block (2 levels) in <top (required)>'
2) Error:
Hitimes::Interval#test_0001_raises an error if duration is called on a non-started interval:
TypeError: class or module required for rescue clause. Got [Hitimes::Error, /\AAttempt to report a duration on an interval that has not started\Z/]
spec/interval_spec.rb:10:in 'block (2 levels) in <top (required)>'
3) Error:
Hitimes::Interval#test_0002_raises an error if stop is called on a non-started interval:
TypeError: class or module required for rescue clause. Got [Hitimes::Error, /\AAttempt to stop an interval that has not started\Z/]
spec/interval_spec.rb:15:in 'block (2 levels) in <top (required)>'
4) Error:
Hitimes::Initialize#test_0003_should raise an error if no clock id is found:
TypeError: class or module required for rescue clause. Got [Hitimes::Error, /Unable to find a high resolution clock/]
spec/initialize_spec.rb:19:in 'block (2 levels) in <top (required)>'
135 runs, 255 assertions, 0 failures, 4 errors, 0 skips
rake aborted!
With Minitest 6.0.5,
rake testfails like below: