<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/irb/test_completion.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/irb] Provide a base test class and let tests restore encodings</title>
<updated>2022-11-03T22:13:11+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2022-11-03T22:13:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a9232038119f2401e6c3d3a4946114b1e878afb5'/>
<id>a9232038119f2401e6c3d3a4946114b1e878afb5</id>
<content type='text'>
conveniently
(https://github.com/ruby/irb/pull/429)

* Create a base TestIRB::TestCase class

* Save/restore encodings for tests that initializes InputMethod classes

Because `RelineInputMethod#initializes` calls `set_encoding`, which
changes stdio/out/err and Encoding's default encoding values, we need to
make sure any test that directly or indirectly (e.g. through Context)
initializes `RelineInputMethod` restores encodings.

`ReadlineInputMethod` also changes encodings but currently no tests
cover it.

* Remove unnecessary TestHelper module

Since we now have a base TestCase, without_rdoc can just live there.

https://github.com/ruby/irb/commit/c2874ec121
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
conveniently
(https://github.com/ruby/irb/pull/429)

* Create a base TestIRB::TestCase class

* Save/restore encodings for tests that initializes InputMethod classes

Because `RelineInputMethod#initializes` calls `set_encoding`, which
changes stdio/out/err and Encoding's default encoding values, we need to
make sure any test that directly or indirectly (e.g. through Context)
initializes `RelineInputMethod` restores encodings.

`ReadlineInputMethod` also changes encodings but currently no tests
cover it.

* Remove unnecessary TestHelper module

Since we now have a base TestCase, without_rdoc can just live there.

https://github.com/ruby/irb/commit/c2874ec121
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Add missing require </title>
<updated>2022-10-27T15:36:18+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2022-10-27T15:30:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7cf7e6c33226093c9c4e3078f7ced3b9b9c99b05'/>
<id>7cf7e6c33226093c9c4e3078f7ced3b9b9c99b05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Add test for IRB::InputCompletor::PerfectMatchedProc</title>
<updated>2022-10-27T15:25:39+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-10-27T10:55:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=26b913c88b087a93f5a7a5f8282d1934b6c5073e'/>
<id>26b913c88b087a93f5a7a5f8282d1934b6c5073e</id>
<content type='text'>
This proc displays rdoc document when the input matches certain symbols
perfectly, like "String". It's commonly triggered with autocompletion
but only has 1 test case. So this commit increases its test coverage.

https://github.com/ruby/irb/commit/d85d719313
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This proc displays rdoc document when the input matches certain symbols
perfectly, like "String". It's commonly triggered with autocompletion
but only has 1 test case. So this commit increases its test coverage.

https://github.com/ruby/irb/commit/d85d719313
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Sort constant completion's candidates</title>
<updated>2022-10-07T18:17:42+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-10-06T11:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b3079a8a5f66859c8d80ad55b5424c7c1877443'/>
<id>5b3079a8a5f66859c8d80ad55b5424c7c1877443</id>
<content type='text'>
https://github.com/ruby/irb/commit/ee9b33c817
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/ee9b33c817
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Correct assert_equal's usage in completion tests</title>
<updated>2022-10-07T18:17:41+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-10-06T11:30:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7be5e9b9712d5ba11911e1ca618c6c487ad8eea6'/>
<id>7be5e9b9712d5ba11911e1ca618c6c487ad8eea6</id>
<content type='text'>
https://test-unit.github.io/test-unit/en/Test/Unit/Assertions.html#assert_equal-instance_method

https://github.com/ruby/irb/commit/00f90d40ad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://test-unit.github.io/test-unit/en/Test/Unit/Assertions.html#assert_equal-instance_method

https://github.com/ruby/irb/commit/00f90d40ad
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Add constant completion test</title>
<updated>2022-10-07T18:17:40+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-10-06T11:27:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=afc1f4fba4c2e97b3d6afc0c863cf1246320aae3'/>
<id>afc1f4fba4c2e97b3d6afc0c863cf1246320aae3</id>
<content type='text'>
https://github.com/ruby/irb/commit/39f8fcb058
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/39f8fcb058
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Regroup completion tests</title>
<updated>2022-10-07T18:17:39+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-10-06T10:59:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3e18bb916fe77aa7834aa11bfcb31f86626c6b76'/>
<id>3e18bb916fe77aa7834aa11bfcb31f86626c6b76</id>
<content type='text'>
https://github.com/ruby/irb/commit/71631287c8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/71631287c8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Add tests for primitive types' method completion</title>
<updated>2022-10-07T18:17:38+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-10-06T10:49:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=83a9b91522469d5d58e280391138f43afba110af'/>
<id>83a9b91522469d5d58e280391138f43afba110af</id>
<content type='text'>
https://github.com/ruby/irb/commit/2e12fac38e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/2e12fac38e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fixed sort of variables in completion</title>
<updated>2022-10-05T10:22:13+00:00</updated>
<author>
<name>Imir Kiyamov</name>
<email>makketagg@gmail.com</email>
</author>
<published>2022-07-18T16:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=83a6213f31016e16bf43613beb4d058339ca9350'/>
<id>83a6213f31016e16bf43613beb4d058339ca9350</id>
<content type='text'>
https://github.com/ruby/irb/commit/5842888255
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/5842888255
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Change to explicit method call in completion (https://github.com/ruby/irb/pull/369)</title>
<updated>2022-10-02T21:55:53+00:00</updated>
<author>
<name>osyo-manga</name>
<email>manga.osyo@gmail.com</email>
</author>
<published>2022-10-02T21:55:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7b88ffb34fc995d7499fd9ed384cf7f5ba12994e'/>
<id>7b88ffb34fc995d7499fd9ed384cf7f5ba12994e</id>
<content type='text'>
Ensure that methods are called even when local variables are defined.
see: https://github.com/ruby/irb/issues/368

https://github.com/ruby/irb/commit/c34d54b8bb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that methods are called even when local variables are defined.
see: https://github.com/ruby/irb/issues/368

https://github.com/ruby/irb/commit/c34d54b8bb
</pre>
</div>
</content>
</entry>
</feed>
