Skip to content

Commit 8e317fc

Browse files
Gem.java_platform? is too new
1 parent 4d2b8c3 commit 8e317fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_net_http_persistent.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ def test_requestx
981981
assert_equal '30', req['keep-alive']
982982

983983
# There's some roounding issue on jruby preventing this from passing
984-
unless Gem.java_platform?
984+
unless RUBY_PLATFORM == "java"
985985
assert_in_delta Time.now, c.last_use
986986
end
987987

0 commit comments

Comments
 (0)