Skip to content

Commit ddaa56d

Browse files
authored
Fix bootstraptest runner driver message (#15072)
This was a mistake; the code tested for RUBY_PATCHLEVEL but then instead of using it used RUBY_PLATFORM twice.
1 parent c477f59 commit ddaa56d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstraptest/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def main
298298
if defined?(RUBY_DESCRIPTION)
299299
puts "Driver is #{RUBY_DESCRIPTION}"
300300
elsif defined?(RUBY_PATCHLEVEL)
301-
puts "Driver is ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}#{RUBY_PLATFORM}) [#{RUBY_PLATFORM}]"
301+
puts "Driver is ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}#{RUBY_PATCHLEVEL}) [#{RUBY_PLATFORM}]"
302302
else
303303
puts "Driver is ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
304304
end

0 commit comments

Comments
 (0)