Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.314 kb
require 'test/unit'
require 'java'
# This tests JRuby-specific environment stuff, like JRUBY_VERSION
class TestEnv < Test::Unit::TestCase
def test_jruby_version
assert defined? JRUBY_VERSION
assert String === JRUBY_VERSION
assert_equal(org.jruby.runtime.Constants::VERSION, JRUBY_VERSION)
end
end
Jump to Line
Something went wrong with that request. Please try again.