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'
|
||||
|
||||
#:nocov:
|
||||
if RUBY_PLATFORM == 'java'
|
||||
org.liboga.Liboga.load(JRuby.runtime)
|
||||
end
|
||||
#:nocov:
|
||||
|
||||
require_relative 'oga/xml/node'
|
||||
require_relative 'oga/xml/element'
|
||||
|
|
Loading…
Reference in New Issue