Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struct#inspect does not produce the same output as MRI 2.2 #2142

headius opened this Issue Nov 7, 2014 · 0 comments


None yet
3 participants
Copy link

headius commented Nov 7, 2014

Couple failing MRI tests due to subtle changes in Struct#inspect:

PPTestModule::PPCycleTest#test_struct [/Users/headius/projects/jruby/test/mri/test_pp.rb:140]:
<"#<struct Struct::S :...>\n"> expected but was
<"#<struct Struct::S a=1, b=#<struct Struct::S:...>>\n">.

TestStruct::SubStruct#test_inspect [/Users/headius/projects/jruby/test/mri/ruby/test_struct.rb:121]:
Expected /^#<struct a=#<struct #<.*?>:...>>$/ to match "#<struct #<Class:0x2ccc231d> :...>".

That last failure is repeated through two other forms of the struct tests.

@headius headius added this to the JRuby 9000 milestone Nov 7, 2014

headius added a commit that referenced this issue Nov 7, 2014

@enebo enebo modified the milestone: JRuby Jul 14, 2015

kares added a commit to kares/jruby that referenced this issue Nov 13, 2015

Revert "Update tags for jruby#2142."
This reverts commit a65e66f.

@kares kares closed this in 50dba20 Nov 14, 2015

@kares kares added this to the JRuby milestone Nov 14, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.