<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/unit/strings_spec.lua, branch fix_repeatcmdline</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>vim-patch:9.0.1856: issues with formatting positional arguments (#25013)</title>
<updated>2023-09-04T00:49:50+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-09-04T00:49:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c431d820e7be1c511d3d16e89cdffaa21b7909fa'/>
<id>c431d820e7be1c511d3d16e89cdffaa21b7909fa</id>
<content type='text'>
Problem:  issues with formatting positional arguments
Solution: fix them, add tests and documentation

closes: vim/vim#12140
closes: vim/vim#12985

Tentatively fix message_test. Check NULL ptr.

https://github.com/vim/vim/commit/aa90d4f031f73a34aaef5746931ea746849a2231

Co-authored-by: Christ van Willegen &lt;cvwillegen@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  issues with formatting positional arguments
Solution: fix them, add tests and documentation

closes: vim/vim#12140
closes: vim/vim#12985

Tentatively fix message_test. Check NULL ptr.

https://github.com/vim/vim/commit/aa90d4f031f73a34aaef5746931ea746849a2231

Co-authored-by: Christ van Willegen &lt;cvwillegen@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.0.1715: duplicate test in message_test.c (#24728)</title>
<updated>2023-08-15T22:11:05+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-08-15T22:11:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=10c5f35a8ddf2683e0c849f71c02b81556ece902'/>
<id>10c5f35a8ddf2683e0c849f71c02b81556ece902</id>
<content type='text'>
Problem: duplicate test in message_test.c
Solution: Remove duplicate test and make functions static

closes: vim/vim#12803

https://github.com/vim/vim/commit/7772c93a3ec1ce60469e9aea9899687ae1141f34</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: duplicate test in message_test.c
Solution: Remove duplicate test and make functions static

closes: vim/vim#12803

https://github.com/vim/vim/commit/7772c93a3ec1ce60469e9aea9899687ae1141f34</pre>
</div>
</content>
</entry>
<entry>
<title>fix(printf): make positional %zd and %zu work (#24722)</title>
<updated>2023-08-15T12:54:28+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-08-15T12:54:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fc14928719df12826397b46b1765b82f1fc7d1d8'/>
<id>fc14928719df12826397b46b1765b82f1fc7d1d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.0.1704: Cannot use positional arguments for printf() (#24719)</title>
<updated>2023-08-15T11:16:19+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-08-15T11:16:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=842a47d6a4103a75e33c2c0023dbae5ad2c0f534'/>
<id>842a47d6a4103a75e33c2c0023dbae5ad2c0f534</id>
<content type='text'>
Problem: Cannot use positional arguments for printf()
Solution: Support positional arguments in string formatting

closes: vim/vim#12140

https://github.com/vim/vim/commit/0c6181fec4c362eb9682d5af583341eb20cb1af5

Co-authored-by: Christ van Willegen &lt;cvwillegen@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Cannot use positional arguments for printf()
Solution: Support positional arguments in string formatting

closes: vim/vim#12140

https://github.com/vim/vim/commit/0c6181fec4c362eb9682d5af583341eb20cb1af5

Co-authored-by: Christ van Willegen &lt;cvwillegen@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.0066: some corners of vim_snprintf() are not tested (#24718)</title>
<updated>2023-08-15T06:46:05+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-08-15T06:46:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=389165cac1596bf602c50904a789722d65ceaac7'/>
<id>389165cac1596bf602c50904a789722d65ceaac7</id>
<content type='text'>
Problem:    Some corners of vim_snprintf() are not tested.
Solution:   Add a test in C. (Dominique Pelle, closes vim/vim#5422)

https://github.com/vim/vim/commit/d2c946bacfedf4e506a4c6771758beddb87df3af</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Some corners of vim_snprintf() are not tested.
Solution:   Add a test in C. (Dominique Pelle, closes vim/vim#5422)

https://github.com/vim/vim/commit/d2c946bacfedf4e506a4c6771758beddb87df3af</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: move reverse_text to strings.c as it's a string operation</title>
<updated>2022-05-20T14:11:54+00:00</updated>
<author>
<name>Dundar Goc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2022-05-20T09:54:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1a0de90068eb87e6d330b5c207f178d45f7f8b36'/>
<id>1a0de90068eb87e6d330b5c207f178d45f7f8b36</id>
<content type='text'>
Also add tests for reverse_text.

Co-authored-by: Kalle Ranki &lt;kalle.ranki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add tests for reverse_text.

Co-authored-by: Kalle Ranki &lt;kalle.ranki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test(strcase_save): test overlong UTF8-encoding</title>
<updated>2022-03-05T15:40:03+00:00</updated>
<author>
<name>Dundar Göc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2022-03-05T11:18:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fff527b88de91b88db95143c470c3e9007dd443e'/>
<id>fff527b88de91b88db95143c470c3e9007dd443e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add tests for vim_strchr</title>
<updated>2017-05-09T11:41:23+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-05-09T11:31:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=04e7eb1e29915c87e3a5b03769d60f429ceb791d'/>
<id>04e7eb1e29915c87e3a5b03769d60f429ceb791d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>unittests: Check core dumps in after_each, like in functests</title>
<updated>2017-03-11T20:23:49+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-03-11T10:28:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9400466282918396c814ef456d0f65dca51b8889'/>
<id>9400466282918396c814ef456d0f65dca51b8889</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>unittests: Run all unit tests in their own processes</title>
<updated>2017-03-11T20:23:30+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-03-05T01:02:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=12b062b2c862fd436cff0df4ebb2e5ca22e75e19'/>
<id>12b062b2c862fd436cff0df4ebb2e5ca22e75e19</id>
<content type='text'>
Used

    sed -r -i -e '/ helpers =/ s/$/\nlocal itp = helpers.gen_itp(it)/; s/^(\s*)it\(/\1itp(/' test/unit/**/*_spec.lua

to alter all tests. Locally they all run fine now.

Reasoning:

1. General: state from one test should not affect other tests.
2. Local: travis build is failing with something which may be an output of
   garbage collector. This should prevent state of the garbage collector from
   interferring as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Used

    sed -r -i -e '/ helpers =/ s/$/\nlocal itp = helpers.gen_itp(it)/; s/^(\s*)it\(/\1itp(/' test/unit/**/*_spec.lua

to alter all tests. Locally they all run fine now.

Reasoning:

1. General: state from one test should not affect other tests.
2. Local: travis build is failing with something which may be an output of
   garbage collector. This should prevent state of the garbage collector from
   interferring as well.
</pre>
</div>
</content>
</entry>
</feed>
