Skip to content

Commit 5dd9db0

Browse files
committed
Improve version check in test_rake_clean.rb
1 parent 3137211 commit 5dd9db0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_rake_clean.rb

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

55
class TestRakeClean < Rake::TestCase # :nodoc:
66
def test_clean
7-
if RUBY_ENGINE == 'truffleruby' and RUBY_ENGINE_VERSION == '19.3.0'
7+
if RUBY_ENGINE == 'truffleruby' and RUBY_ENGINE_VERSION.start_with?('19.3.')
88
load "rake/clean.rb" # TruffleRuby 19.3 does not set self correctly with wrap=true
99
else
1010
load "rake/clean.rb", true

0 commit comments

Comments
 (0)