Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.526 kb
require 'test/unit'
require 'test/test_helper'
require 'java'
# This tests JRuby-specific environment stuff, like JRUBY_VERSION
class TestEnv < Test::Unit::TestCase
include TestHelper
def test_jruby_version
assert defined? JRUBY_VERSION
assert String === JRUBY_VERSION
assert_equal(org.jruby.runtime.Constants::VERSION, JRUBY_VERSION)
end
if WINDOWS
def test_case_insensitive_on_windows
path = ENV['PATH']
cased_path = ENV['path']
assert_equal(path, cased_path)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.