[ruby/prism] Update truffleruby version
https://github.com/ruby/prism/commit/2afe89f8ce
This commit is contained in:
parent
90d38ddb47
commit
33aaa069a4
@ -54,9 +54,10 @@ module Prism
|
||||
assert_parameters([[:keyrest, :**]], "**")
|
||||
end
|
||||
|
||||
def test_key_ordering
|
||||
omit("TruffleRuby returns keys in order they were declared") if RUBY_ENGINE == "truffleruby"
|
||||
assert_parameters([[:keyreq, :a], [:keyreq, :b], [:key, :c], [:key, :d]], "a:, c: 1, b:, d: 2")
|
||||
if RUBY_ENGINE != "truffleruby"
|
||||
def test_key_ordering
|
||||
assert_parameters([[:keyreq, :a], [:keyreq, :b], [:key, :c], [:key, :d]], "a:, c: 1, b:, d: 2")
|
||||
end
|
||||
end
|
||||
|
||||
def test_block
|
||||
|
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
return if RUBY_VERSION < "3.3"
|
||||
return if RUBY_VERSION < "3.3" || RUBY_ENGINE == "truffleruby"
|
||||
|
||||
require_relative "../test_helper"
|
||||
|
||||
|
@ -2,7 +2,11 @@
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
<<<<<<< HEAD:tool/bundler/rubocop_gems.rb
|
||||
gem "rubocop", ">= 1.52.1", "< 2"
|
||||
=======
|
||||
ruby "~> 3.3.5", engine: "truffleruby", engine_version: "~> 24.2.0"
|
||||
>>>>>>> 2afe89f8ce (Update truffleruby version):gemfiles/truffleruby/Gemfile
|
||||
|
||||
gem "minitest"
|
||||
gem "irb"
|
||||
|
Loading…
x
Reference in New Issue
Block a user