Details
-
Type:
Test
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1
-
Fix Version/s: JRuby 1.1
-
Component/s: Interpreter
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
I am trying to get rid of this console noise when running the unit tests:
{{
[junit] ./test/testStruct.rb:91 warning: redefining constant Struct::Post
[junit] ./test/testStruct.rb:98 warning: redefining constant Struct::MyStruct
}}
I have added a patch which works for MRI, but not JRuby. Is this a bug, or a deliberate/necessary different in how stdout works in JRuby?
Nevermind about the MRI difference – tired brain. Working the same everywhere, once Nick pointed out that I needed to Recording::stderr instead of stdout.