<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/optparse, branch ruby_3_2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/optparse] The encoding argument of `Regexp.new` has been ignored since 1.9</title>
<updated>2022-12-21T05:09:12+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-12-21T05:07:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=502ca37dde288d20fed6e6ea34f4ab3299de7777'/>
<id>502ca37dde288d20fed6e6ea34f4ab3299de7777</id>
<content type='text'>
https://github.com/ruby/optparse/commit/766f567405
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/optparse/commit/766f567405
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/optparse] Fix the test failure i ruby/ruby</title>
<updated>2022-11-28T16:20:40+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2022-11-28T16:14:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f3ad68dd161da60bb4f4908974839bb2b5736a85'/>
<id>f3ad68dd161da60bb4f4908974839bb2b5736a85</id>
<content type='text'>
```
$ 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]:
&lt;["--bar"]&gt; expected but was
&lt;[]&gt;.
```

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.

https://github.com/ruby/optparse/commit/fee86ef7a4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
```
$ 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]:
&lt;["--bar"]&gt; expected but was
&lt;[]&gt;.
```

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.

https://github.com/ruby/optparse/commit/fee86ef7a4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/optparse] Add `raise_unknown` flag</title>
<updated>2022-11-28T14:24:06+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-29T15:36:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0bfb185654b13237b874dc00d5719e695416b711'/>
<id>0bfb185654b13237b874dc00d5719e695416b711</id>
<content type='text'>
(https://github.com/ruby/optparse/pull/38)

https://github.com/ruby/optparse/commit/12529653cd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/optparse/pull/38)

https://github.com/ruby/optparse/commit/12529653cd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/optparse] Add tests for `load(into:)`</title>
<updated>2022-10-29T13:47:23+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-29T13:25:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d5fb76a6c8d86253110d265070e775a1bf9f9730'/>
<id>d5fb76a6c8d86253110d265070e775a1bf9f9730</id>
<content type='text'>
https://github.com/ruby/optparse/commit/51f7e060ee
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/optparse/commit/51f7e060ee
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/optparse] Add tests for `OptionParser#load`</title>
<updated>2022-10-29T13:40:19+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-29T13:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4dac53f0a48920f80ccaa4de151631659ab1d2ba'/>
<id>4dac53f0a48920f80ccaa4de151631659ab1d2ba</id>
<content type='text'>
https://github.com/ruby/optparse/commit/fb34a1d3a3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/optparse/commit/fb34a1d3a3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/optparse] Don't treat empty string as an option description</title>
<updated>2022-10-08T10:30:34+00:00</updated>
<author>
<name>Maciek Rząsa</name>
<email>maciejrzasa@gmail.com</email>
</author>
<published>2022-10-08T10:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0f231f2babf314593bcd233f4f5b8de8dc936145'/>
<id>0f231f2babf314593bcd233f4f5b8de8dc936145</id>
<content type='text'>
https://github.com/ruby/optparse/commit/078638ee6d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/optparse/commit/078638ee6d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/optparse] Also accept '-' as an optional argument (https://github.com/ruby/optparse/pull/35)</title>
<updated>2022-07-29T10:10:10+00:00</updated>
<author>
<name>konsolebox</name>
<email>konsolebox@gmail.com</email>
</author>
<published>2022-06-09T11:43:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=419ad1e13e6287d0b7a6ba1dfeb485d2f889bf9e'/>
<id>419ad1e13e6287d0b7a6ba1dfeb485d2f889bf9e</id>
<content type='text'>
https://github.com/ruby/optparse/commit/f2b8318631
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/optparse/commit/f2b8318631
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid defining the same test class in multiple files</title>
<updated>2022-04-22T22:00:16+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-04-22T20:01:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ab3cb29bd9bff9c16cfb9d19cc02026998282c12'/>
<id>ab3cb29bd9bff9c16cfb9d19cc02026998282c12</id>
<content type='text'>
Should fix issues with parallel testing sometimes not running all
tests.

This should be viewed skipping whitespace changes.

Fixes [Bug #18731]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should fix issues with parallel testing sometimes not running all
tests.

This should be viewed skipping whitespace changes.

Fixes [Bug #18731]
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/optparse] Fix for ruby 3.0 or earlier</title>
<updated>2022-01-12T12:16:02+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-01-12T11:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e28dbd0f3d08536d61e4e2c0ac938161ac16f29f'/>
<id>e28dbd0f3d08536d61e4e2c0ac938161ac16f29f</id>
<content type='text'>
https://github.com/ruby/optparse/commit/9e29d86c12
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/optparse/commit/9e29d86c12
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/optparse] DidYouMean::PlainFormatter is deprecated</title>
<updated>2022-01-12T12:16:02+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-01-12T10:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=743a41f7e3e7d4dfad006f23d14a00cbe6ba5946'/>
<id>743a41f7e3e7d4dfad006f23d14a00cbe6ba5946</id>
<content type='text'>
https://github.com/ruby/optparse/commit/0ac9957696
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/optparse/commit/0ac9957696
</pre>
</div>
</content>
</entry>
</feed>
