Skip to content

Commit

Permalink
on jruby the clock ids are symbols, not integers
Browse files Browse the repository at this point in the history
  • Loading branch information
copiousfreetime committed Apr 29, 2024
1 parent ccaf814 commit 7540c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/initialize_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
describe "Hitimes::Initialize" do
it "should return a clock id" do
val = Hitimes::Initialize.determine_clock_id
_(val).must_be_kind_of(Integer)
_(val).wont_be_nil
end

it "should return :CLOCK_REALTIME as a last option" do
Expand Down

0 comments on commit 7540c79

Please sign in to comment.