Skip to content

Commit 18508c4

Browse files
committed
Skip the only failing test on TruffleRuby 19.3.0
* See #331
1 parent 4a4bc2e commit 18508c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/test_rake_clean.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
class TestRakeClean < Rake::TestCase # :nodoc:
66
def test_clean
7-
load "rake/clean.rb", true
7+
if RUBY_ENGINE == 'truffleruby' and RUBY_ENGINE_VERSION == '19.3.0'
8+
load "rake/clean.rb" # TruffleRuby 19.3 does not set self correctly with wrap=true
9+
else
10+
load "rake/clean.rb", true
11+
end
812

913
assert Rake::Task["clean"], "Should define clean"
1014
assert Rake::Task["clobber"], "Should define clobber"

0 commit comments

Comments
 (0)