We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc5081 commit 996bea3Copy full SHA for 996bea3
test/net/imap/test_data_lite.rb
@@ -154,7 +154,14 @@ def test_inspect
154
end
155
156
def test_recursive_inspect
157
- # TODO: TruffleRuby's Data fails this test with a StackOverflowError
+ if Data.superclass == ::Object
158
+ omit_if_truffleruby "TruffleRuby: format('%p', nil) returns '': " \
159
+ "https://github.com/oracle/truffleruby/issues/3846"
160
+ else
161
+ omit_if_truffleruby "TruffleRuby: Data#inspect has stack overflow: " \
162
+ "https://github.com/oracle/truffleruby/issues/3847"
163
+ end
164
+
165
klass = Data.define(:value, :head, :tail) do
166
def initialize(value:, head: nil, tail: nil)
167
case tail
0 commit comments