Skip to content

Commit

Permalink
Skip the only failing test on TruffleRuby 19.3.0
Browse files Browse the repository at this point in the history
* See #331
  • Loading branch information
eregon committed Nov 22, 2019
1 parent 4a4bc2e commit 18508c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test_rake_clean.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

class TestRakeClean < Rake::TestCase # :nodoc:
def test_clean
load "rake/clean.rb", true
if RUBY_ENGINE == 'truffleruby' and RUBY_ENGINE_VERSION == '19.3.0'
load "rake/clean.rb" # TruffleRuby 19.3 does not set self correctly with wrap=true
else
load "rake/clean.rb", true
end

assert Rake::Task["clean"], "Should define clean"
assert Rake::Task["clobber"], "Should define clobber"
Expand Down

0 comments on commit 18508c4

Please sign in to comment.