Disable code coverage for JRuby specific code.

This commit is contained in:
Yorick Peterse 2014-06-23 09:42:14 +02:00
parent c840a33667
commit 96a7a40fdc
1 changed files with 2 additions and 0 deletions

View File

@ -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'