Skip to content

Commit

Permalink
Update test libraries from ruby/ruby 2023-04-29
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Apr 29, 2023
1 parent 82cff0b commit 8ff1604
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/lib/core_assertions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -743,8 +743,7 @@ def assert_all_assertions_foreach(msg = nil, *keys, &block)
CLOCK_MONOTONIC
].find do |clk|
if Process.const_defined?(clk)
clk = clk.to_sym
begin
[clk.to_sym, Process.const_get(clk)].find do |clk|
Process.clock_gettime(clk)
rescue
# Constants may be defined but not implemented, e.g., mingw.
Expand Down

0 comments on commit 8ff1604

Please sign in to comment.