Skip to content

Instantly share code, notes, and snippets.

@headius
Created April 2, 2020 20:23
Show Gist options
  • Save headius/df9023009fe9ae6e4d9ae56e6ac899fb to your computer and use it in GitHub Desktop.
Save headius/df9023009fe9ae6e4d9ae56e6ac899fb to your computer and use it in GitHub Desktop.
[] ~/projects/jruby $ jruby --dev -Xjit.threshold=-1 test/mri/runner.rb --excludes=test/mri/excludes/ test/mri/ruby/test_module.rb -n test_deprecate_nil_constant
Run options: --excludes=test/mri/excludes/ -n test_deprecate_nil_constant
# Running tests:
Finished tests in 0.051525s, 19.4081 tests/s, 77.6322 assertions/s.
1 tests, 4 assertions, 0 failures, 0 errors, 0 skips
ruby -v: jruby 9.3.0.0-SNAPSHOT (2.6.5) 2020-04-01 11b34cbaaa OpenJDK 64-Bit Server VM 25.222-b10 on 1.8.0_222-b10 [darwin-x86_64]
[] ~/projects/jruby $ jruby --dev -Xjit.threshold=0 test/mri/runner.rb --excludes=test/mri/excludes/ test/mri/ruby/test_module.rb -n test_deprecate_nil_constant
Run options: --excludes=test/mri/excludes/ -n test_deprecate_nil_constant
# Running tests:
[1/1] TestModule#test_deprecate_nil_constant = 0.02 s
1) Failure:
TestModule#test_deprecate_nil_constant [/Users/headius/projects/jruby/test/mri/ruby/test_module.rb:1534]:
/Users/headius/projects/jruby/test/mri/ruby/test_module.rb:1533: warning: constant TestModule::FALSE is deprecated
/Users/headius/projects/jruby/test/mri/ruby/test_module.rb:1533: warning: constant TestModule::FALSE is deprecated
.
<1> expected but was
<2>.
Finished tests in 0.088192s, 11.3389 tests/s, 34.0167 assertions/s.
1 tests, 3 assertions, 1 failures, 0 errors, 0 skips
ruby -v: jruby 9.3.0.0-SNAPSHOT (2.6.5) 2020-04-01 11b34cbaaa OpenJDK 64-Bit Server VM 25.222-b10 on 1.8.0_222-b10 [darwin-x86_64]
[] ~/projects/jruby $ jruby -Xjit.threshold=0 test/mri/runner.rb --excludes=test/mri/excludes/ test/mri/ruby/test_module.rb -n test_deprecate_nil_constant
Run options: --excludes=test/mri/excludes/ -n test_deprecate_nil_constant
# Running tests:
Finished tests in 0.381633s, 2.6203 tests/s, 10.4813 assertions/s.
1 tests, 4 assertions, 0 failures, 0 errors, 0 skips
ruby -v: jruby 9.3.0.0-SNAPSHOT (2.6.5) 2020-04-01 11b34cbaaa OpenJDK 64-Bit Server VM 25.222-b10 on 1.8.0_222-b10 +jit [darwin-x86_64]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment