Disable code coverage for JRuby specific code.
This commit is contained in:
parent
c840a33667
commit
96a7a40fdc
|
@ -9,9 +9,11 @@ require_relative 'oga/xml/pull_parser'
|
||||||
|
|
||||||
require_relative 'liboga'
|
require_relative 'liboga'
|
||||||
|
|
||||||
|
#:nocov:
|
||||||
if RUBY_PLATFORM == 'java'
|
if RUBY_PLATFORM == 'java'
|
||||||
org.liboga.Liboga.load(JRuby.runtime)
|
org.liboga.Liboga.load(JRuby.runtime)
|
||||||
end
|
end
|
||||||
|
#:nocov:
|
||||||
|
|
||||||
require_relative 'oga/xml/node'
|
require_relative 'oga/xml/node'
|
||||||
require_relative 'oga/xml/element'
|
require_relative 'oga/xml/element'
|
||||||
|
|
Loading…
Reference in New Issue