path: root/ext/-test-/rational/depend
diff options
authorYusuke Endoh <>2022-11-29 01:14:47 +0900
committergit <>2022-11-28 16:20:40 +0000
commitf3ad68dd161da60bb4f4908974839bb2b5736a85 (patch)
tree8470e2d1e13b977e0684b2a802ce761bab545af7 /ext/-test-/rational/depend
parentb649850d4a1df500e0d3d41427313f2f7b5a645d (diff)
[ruby/optparse] Fix the test failure i ruby/rubyHEADmaster
``` $ make test-all TESTS=test/optparse/ ... [148/178] TestOptionParserDidYouMean#test_raise_unknown = 0.00 s 1) Failure: TestOptionParserDidYouMean#test_raise_unknown [/home/mame/work/ruby/test/optparse/test_optparse.rb:106]: <["--bar"]> expected but was <[]>. ``` In the old test/unit (bundled in ruby/ruby), when a test class inherits from another test class, the child class runs all the tests defined in the parent class. However, it looks like the new test/unit does not do so. This is because the test failure does not occur in ruby/optparse. As a tentative solution, this changes the option names in TestOptionParser to avoid the name conflict with TestOptionParserDidYouMean.
Diffstat (limited to 'ext/-test-/rational/depend')
0 files changed, 0 insertions, 0 deletions