diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2023-11-30 17:19:30 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-01-11 13:44:03 +0000 |
| commit | 4e0c2f05efc9415b52b50ee65401c5b511d269e7 (patch) | |
| tree | f177feba96f20c98356e201656a7774a144a70de /test | |
| parent | 1ed3b6037566cef3d56e882eb0fcf1b14553f540 (diff) | |
[ruby/pp] Add TruffleRuby in CI
* Only 2 cyclic tests are failing, with the ... in a slightly different place in the output.
https://github.com/ruby/pp/commit/6e5c7d741e
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_pp.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_pp.rb b/test/test_pp.rb index 72a4f127f3..6da2b808b9 100644 --- a/test/test_pp.rb +++ b/test/test_pp.rb @@ -140,7 +140,7 @@ class PPCycleTest < Test::Unit::TestCase a = S.new(1,2) a.b = a assert_equal("#<struct Struct::S a=1, b=#<struct Struct::S:...>>\n", PP.pp(a, ''.dup)) - assert_equal("#{a.inspect}\n", PP.pp(a, ''.dup)) + assert_equal("#{a.inspect}\n", PP.pp(a, ''.dup)) unless RUBY_ENGINE == "truffleruby" end if defined?(Data.define) @@ -167,7 +167,7 @@ class PPCycleTest < Test::Unit::TestCase end def test_withinspect - omit if RUBY_ENGINE == "jruby" + omit if RUBY_ENGINE == "jruby" or RUBY_ENGINE == "truffleruby" a = [] a << HasInspect.new(a) assert_equal("[<inspect:[...]>]\n", PP.pp(a, ''.dup)) |
