Skip to content

Commit f8a1181

Browse files
maximecbk0kubun
andauthored
Update harness/harness-common.rb
Co-authored-by: Takashi Kokubun <[email protected]>
1 parent ceda5f1 commit f8a1181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

harness/harness-common.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_rss
5252
end
5353

5454
def is_macos
55-
RbConfig::CONFIG['host_os'].match(/darwin/) != nil
55+
RUBY_PLATFORM.match?(/darwin/)
5656
end
5757

5858
def get_maxrss

0 commit comments

Comments
 (0)