From 96a7a40fdce80825d1f9d42736c27100fff01158 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Mon, 23 Jun 2014 09:42:14 +0200 Subject: [PATCH] Disable code coverage for JRuby specific code. --- lib/oga.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/oga.rb b/lib/oga.rb index 731005e..b09e12c 100644 --- a/lib/oga.rb +++ b/lib/oga.rb @@ -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'