Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jruby/test_load_gem_extensions.rb
Original file line number Diff line number Diff line change
@@ -19,14 +19,14 @@ def teardown

def test_require_extension_file_via_uri_protocol
return skip 'needs jruby-home from filesystem' if inside_jar?
require 'uri:file:./lib/ruby/shared/json/ext/parser'
require 'uri:file:./lib/ruby/stdlib/json/ext/parser'
# just check if extension class exists
JSON::Ext::Parser
end

def test_require_extension_file_via_uri_classloader_protocol
return skip 'needs jruby-home from filesystem' if inside_jar?
require 'uri:classloader:/lib/ruby/shared/json/ext/generator'
require 'uri:classloader:/lib/ruby/stdlib/json/ext/generator'
# just check if extension class exists
JSON::Ext::Generator
end

0 comments on commit a7e959f

Please sign in to comment.