We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4460d1 commit 949155dCopy full SHA for 949155d
spec/launcher_spec.rb
@@ -1,8 +1,9 @@
1
require 'tmpdir'
2
+require 'rbconfig'
3
require File.expand_path('../spec_helper.rb', __FILE__)
4
load File.expand_path('../../lib/jruby-launcher.rb', __FILE__)
5
-describe "JRuby native launcher", if: /Windows/.match?(ENV_JAVA['os.name']) do
6
+describe "JRuby native launcher", if: /mswin/.match?(RbConfig::CONFIG['host_os']) do
7
it "should run org.jruby.Main" do
8
jruby_launcher_args("").last.should == "org/jruby/Main"
9
end
0 commit comments