Skip to content

Commit cec425c

Browse files
authored
Merge pull request ruby#3498 from ruby/update-trufflruby
Update truffleruby version
2 parents 55408bf + 2afe89f commit cec425c

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

gemfiles/truffleruby/Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source "https://rubygems.org"
44

5-
ruby "~> 3.2.2", engine: "truffleruby", engine_version: "~> 24.1.0"
5+
ruby "~> 3.3.5", engine: "truffleruby", engine_version: "~> 24.2.0"
66

77
gemspec path: "../.."
88

gemfiles/truffleruby/Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ DEPENDENCIES
2929
test-unit
3030

3131
RUBY VERSION
32-
ruby 3.2.4p0 (truffleruby 24.1.0)
32+
ruby 3.3.5p0 (truffleruby 24.2.0)
3333

3434
BUNDLED WITH
3535
2.4.19

test/prism/ruby/parameters_signature_test.rb

+4-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ def test_keyrest_anonymous
5454
assert_parameters([[:keyrest, :**]], "**")
5555
end
5656

57-
def test_key_ordering
58-
omit("TruffleRuby returns keys in order they were declared") if RUBY_ENGINE == "truffleruby"
59-
assert_parameters([[:keyreq, :a], [:keyreq, :b], [:key, :c], [:key, :d]], "a:, c: 1, b:, d: 2")
57+
if RUBY_ENGINE != "truffleruby"
58+
def test_key_ordering
59+
assert_parameters([[:keyreq, :a], [:keyreq, :b], [:key, :c], [:key, :d]], "a:, c: 1, b:, d: 2")
60+
end
6061
end
6162

6263
def test_block

test/prism/ruby/ripper_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
return if RUBY_VERSION < "3.3"
3+
return if RUBY_VERSION < "3.3" || RUBY_ENGINE == "truffleruby"
44

55
require_relative "../test_helper"
66

0 commit comments

Comments
 (0)