<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/legacy/assert_spec.lua, branch tmp</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>feat(test): use nvim_exec in helpers.source() #16064</title>
<updated>2022-03-27T17:25:55+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-03-27T17:25:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=72652cbc46f568128bfc296ba63fb2d26941da8e'/>
<id>72652cbc46f568128bfc296ba63fb2d26941da8e</id>
<content type='text'>
helpers.source() was a hack to work around the lack of anonymous
:source. Its "create tempfile" behavior is not a required part of most
tests that use it.

Some tests still need the old "create tempfile" behavior either because
they test SID behavior, or because of missing nvim_exec features: #16071</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
helpers.source() was a hack to work around the lack of anonymous
:source. Its "create tempfile" behavior is not a required part of most
tests that use it.

Some tests still need the old "create tempfile" behavior either because
they test SID behavior, or because of missing nvim_exec features: #16071</pre>
</div>
</content>
</entry>
<entry>
<title>test(old): move some tests from assert_spec.lua to test_assert.vim</title>
<updated>2022-02-13T01:23:20+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-02-13T00:36:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2a6a93b66544ec9ab68c8ed05b217017b6db86d0'/>
<id>2a6a93b66544ec9ab68c8ed05b217017b6db86d0</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:8.1.1909: more functions can be used as methods</title>
<updated>2021-08-12T21:35:24+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-08-07T16:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7925f0b6330c18c9391d02f844cd17b41fbb3d2e'/>
<id>7925f0b6330c18c9391d02f844cd17b41fbb3d2e</id>
<content type='text'>
Problem:    More functions can be used as methods.
Solution:   Make a few more functions usable as a method.
https://github.com/vim/vim/commit/e49fbff384e45dd17fed72321c26937edf6de16b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    More functions can be used as methods.
Solution:   Make a few more functions usable as a method.
https://github.com/vim/vim/commit/e49fbff384e45dd17fed72321c26937edf6de16b
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1861: only some assert functions can be used as a method</title>
<updated>2021-08-12T21:35:22+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-08-07T00:28:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=287a77ef51a7a12813d3fa6e1c49c595e5951ba5'/>
<id>287a77ef51a7a12813d3fa6e1c49c595e5951ba5</id>
<content type='text'>
Problem:    Only some assert functions can be used as a method.
Solution:   Allow using most assert functions as a method.
https://github.com/vim/vim/commit/24278d2407dfbc8d93eb36593cdd006ff5d86f94

Port tests to assert_spec.lua.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Only some assert functions can be used as a method.
Solution:   Allow using most assert functions as a method.
https://github.com/vim/vim/commit/24278d2407dfbc8d93eb36593cdd006ff5d86f94

Port tests to assert_spec.lua.
</pre>
</div>
</content>
</entry>
<entry>
<title>test, legacy/assert_spec.lua: fix few tests fail</title>
<updated>2021-01-01T09:58:05+00:00</updated>
<author>
<name>erw7</name>
<email>erw7.github@gmail.com</email>
</author>
<published>2020-10-15T09:57:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5cf94effeefead893de782ddf3f3914107de824f'/>
<id>5cf94effeefead893de782ddf3f3914107de824f</id>
<content type='text'>
Adjust failing tests to current behavior due to changes in assert_fails
behavior by fbd6a86.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adjust failing tests to current behavior due to changes in assert_fails
behavior by fbd6a86.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.0539: comparing two NULL list fails</title>
<updated>2020-07-19T15:40:34+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2020-07-12T23:04:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e16f2cbd123b5a7bd75b5810ec7641a93c99c009'/>
<id>e16f2cbd123b5a7bd75b5810ec7641a93c99c009</id>
<content type='text'>
Problem:    Comparing two NULL list fails.
Solution:   Change the order of comparing two lists.
https://github.com/vim/vim/commit/7b293c730b07d1586688e622b8d9cbbb4a52379b

N/A patches for version.c:

vim-patch:8.2.1187: terminal2 test sometimes hangs in the GUI on Travis

Problem:    Terminal2 test sometimes hangs in the GUI on Travis.
Solution:   Disable Test_zz2_terminal_guioptions_bang() for now.
https://github.com/vim/vim/commit/c85156bb897085d7f5a8e4e180287f87bf19b948

vim-patch:8.2.1188: memory leak with invalid json input

Problem:    Memory leak with invalid json input.
Solution:   Free all keys at the end. (Dominique Pellé, closes vim/vim#6443,
            closes vim/vim#6442)
https://github.com/vim/vim/commit/6d3a7213f58da834b0fc869d05f87e86010c66cf

vim-patch:8.2.1196: build failure with normal features

Problem:    Build failure with normal features.
Solution:   Add #ifdef.
https://github.com/vim/vim/commit/83e7450053399942e1c9efa802c568b51d948541

vim-patch:8.2.1198: terminal2 test sometimes hangs in the GUI on Travis

Problem:    Terminal2 test sometimes hangs in the GUI on Travis.
Solution:   Move test function to terminal3 to see if the problem moves too.
https://github.com/vim/vim/commit/a4b442614c5ca4ebf32acf5cf0b7b718496f1c94
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Comparing two NULL list fails.
Solution:   Change the order of comparing two lists.
https://github.com/vim/vim/commit/7b293c730b07d1586688e622b8d9cbbb4a52379b

N/A patches for version.c:

vim-patch:8.2.1187: terminal2 test sometimes hangs in the GUI on Travis

Problem:    Terminal2 test sometimes hangs in the GUI on Travis.
Solution:   Disable Test_zz2_terminal_guioptions_bang() for now.
https://github.com/vim/vim/commit/c85156bb897085d7f5a8e4e180287f87bf19b948

vim-patch:8.2.1188: memory leak with invalid json input

Problem:    Memory leak with invalid json input.
Solution:   Free all keys at the end. (Dominique Pellé, closes vim/vim#6443,
            closes vim/vim#6442)
https://github.com/vim/vim/commit/6d3a7213f58da834b0fc869d05f87e86010c66cf

vim-patch:8.2.1196: build failure with normal features

Problem:    Build failure with normal features.
Solution:   Add #ifdef.
https://github.com/vim/vim/commit/83e7450053399942e1c9efa802c568b51d948541

vim-patch:8.2.1198: terminal2 test sometimes hangs in the GUI on Travis

Problem:    Terminal2 test sometimes hangs in the GUI on Travis.
Solution:   Move test function to terminal3 to see if the problem moves too.
https://github.com/vim/vim/commit/a4b442614c5ca4ebf32acf5cf0b7b718496f1c94
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.0819: a failed assert with a long string is hard to read</title>
<updated>2020-07-19T15:40:34+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2020-07-12T11:40:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ab69ea26dccf4760a60882059a69b9245f767e2c'/>
<id>ab69ea26dccf4760a60882059a69b9245f767e2c</id>
<content type='text'>
Problem:    A failed assert with a long string is hard to read.
Solution:   Shorten the assert message.
https://github.com/vim/vim/commit/865767126e97d9ac65e052a657b29bbc32dcb512
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    A failed assert with a long string is hard to read.
Solution:   Shorten the assert message.
https://github.com/vim/vim/commit/865767126e97d9ac65e052a657b29bbc32dcb512
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.0460: assert_fails() message argument #11051</title>
<updated>2019-09-21T21:03:46+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-09-21T21:03:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b3e56957f8e9468497e5db508d97d7b560ccfe85'/>
<id>b3e56957f8e9468497e5db508d97d7b560ccfe85</id>
<content type='text'>
Problem:    assert_fails() does not take a message argument
Solution:   Add the argument.
https://github.com/vim/vim/commit/1307d1c003b01b4f67524c95feb07c3d91c7c428</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    assert_fails() does not take a message argument
Solution:   Add the argument.
https://github.com/vim/vim/commit/1307d1c003b01b4f67524c95feb07c3d91c7c428</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.0.1770: assert functions don't return anything</title>
<updated>2019-09-17T03:42:44+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-09-17T02:26:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8db9e82e3e1aa094ca9224b01384da1b07fda410'/>
<id>8db9e82e3e1aa094ca9224b01384da1b07fda410</id>
<content type='text'>
Problem:    Assert functions don't return anything.
Solution:   Return non-zero when the assertion fails.
https://github.com/vim/vim/commit/65a5464985f980d2bbbf4e14d39d416dce065ec7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Assert functions don't return anything.
Solution:   Return non-zero when the assertion fails.
https://github.com/vim/vim/commit/65a5464985f980d2bbbf4e14d39d416dce065ec7
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.0.1510: cannot assert beep #9938</title>
<updated>2019-04-25T12:31:33+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-04-25T12:31:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9d77a0768697aced470c72ba71d0e04cf45f0fd0'/>
<id>9d77a0768697aced470c72ba71d0e04cf45f0fd0</id>
<content type='text'>
Problem:    Cannot test if a command causes a beep.
Solution:   Add assert_beeps().
https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Cannot test if a command causes a beep.
Solution:   Add assert_beeps().
https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8</pre>
</div>
</content>
</entry>
</feed>
