<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/testdir/test_assert.vim, 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>vim-patch:8.2.0969: assert_equal() output for dicts is hard to figure out (#19317)</title>
<updated>2022-07-13T01:38:15+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-07-13T01:38:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=778541067a2f0ec3ef4bc1b07def646323e852a9'/>
<id>778541067a2f0ec3ef4bc1b07def646323e852a9</id>
<content type='text'>
Problem:    Assert_equal() output for dicts is hard to figure out.
Solution:   Only show the different items.
https://github.com/vim/vim/commit/4a021dfbeee88ac09d07e257912485314ecdcabe</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Assert_equal() output for dicts is hard to figure out.
Solution:   Only show the different items.
https://github.com/vim/vim/commit/4a021dfbeee88ac09d07e257912485314ecdcabe</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.{1524,1544}: tests are silently skipped (#19276)</title>
<updated>2022-07-08T00:26:25+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-07-08T00:26:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ca64b589cd74e9f6bd369286a415711ec7197082'/>
<id>ca64b589cd74e9f6bd369286a415711ec7197082</id>
<content type='text'>
This is a port of these two patches combined:

vim-patch:8.1.1524: tests are silently skipped

Problem:    Tests are silently skipped.
Solution:   Throw an exception for skipped tests in more places.
https://github.com/vim/vim/commit/b0f94c1ff34d27d33aa9f96204985ea29c2eb0a1

vim-patch:8.1.1544: some balloon tests don't run when they can

Problem:    Some balloon tests don't run when they can.
Solution:   Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
            closes vim/vim#4538)  Change the feature check into a command for
            consistency.
https://github.com/vim/vim/commit/b46fecd3454399f8ebdc5055302e4bfc5a10f98b

Omit test_lua.vim: previous patches are N/A
Omit test_memory_usage.vim: previous patches are N/A
Omit test_textprop.vim: previous patches are N/A
Omit test_winbar.vim: previous patches are N/A
Omit test_termcodes.vim: mostly N/A
Skip Test_mouse_positon() because it uses test_setmouse().
Cannot throw error in a Test_nocatch_ test.
Use latest `CheckFeature clipboard_working` for test_quotestar.vim</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a port of these two patches combined:

vim-patch:8.1.1524: tests are silently skipped

Problem:    Tests are silently skipped.
Solution:   Throw an exception for skipped tests in more places.
https://github.com/vim/vim/commit/b0f94c1ff34d27d33aa9f96204985ea29c2eb0a1

vim-patch:8.1.1544: some balloon tests don't run when they can

Problem:    Some balloon tests don't run when they can.
Solution:   Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
            closes vim/vim#4538)  Change the feature check into a command for
            consistency.
https://github.com/vim/vim/commit/b46fecd3454399f8ebdc5055302e4bfc5a10f98b

Omit test_lua.vim: previous patches are N/A
Omit test_memory_usage.vim: previous patches are N/A
Omit test_textprop.vim: previous patches are N/A
Omit test_winbar.vim: previous patches are N/A
Omit test_termcodes.vim: mostly N/A
Skip Test_mouse_positon() because it uses test_setmouse().
Cannot throw error in a Test_nocatch_ test.
Use latest `CheckFeature clipboard_working` for test_quotestar.vim</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.0958: compiling weird regexp pattern is very slow</title>
<updated>2021-03-29T12:23:02+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2021-03-28T15:15:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8b60368c1b9e23f0695557da170d416d71f7e6a3'/>
<id>8b60368c1b9e23f0695557da170d416d71f7e6a3</id>
<content type='text'>
Problem:    Compiling weird regexp pattern is very slow.
Solution:   When reallocating post list increase size by 50%. (Kuang-che Wu,
            closes vim/vim#4012)  Make assert_inrange() accept float values.
https://github.com/vim/vim/commit/38f08e76acf7d21bb34cf8f79f0f82eb63cdc987

Omit changes to typval_compare()
because patch v8.0.1505 was not ported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Compiling weird regexp pattern is very slow.
Solution:   When reallocating post list increase size by 50%. (Kuang-che Wu,
            closes vim/vim#4012)  Make assert_inrange() accept float values.
https://github.com/vim/vim/commit/38f08e76acf7d21bb34cf8f79f0f82eb63cdc987

Omit changes to typval_compare()
because patch v8.0.1505 was not ported.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.0899: assert_equalfile() does not give a hint about the difference</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-12T14:44:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=bf882281800fe155536de487418d8052812446e5'/>
<id>bf882281800fe155536de487418d8052812446e5</id>
<content type='text'>
Problem:    Assert_equalfile() does not give a hint about the difference.
Solution:   Display the last seen text.
https://github.com/vim/vim/commit/30cc44a97f0ba1349e1a522dab22b11f47888183
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Assert_equalfile() does not give a hint about the difference.
Solution:   Display the last seen text.
https://github.com/vim/vim/commit/30cc44a97f0ba1349e1a522dab22b11f47888183
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.0893: assert_equalfile() does not take a third argument</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-12T14:17:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=93f2dc0d034677a47c9ba7032b3537c91a718096'/>
<id>93f2dc0d034677a47c9ba7032b3537c91a718096</id>
<content type='text'>
Problem:    Assert_equalfile() does not take a third argument.
Solution:   Implement the third argument. (Gary Johnson)
https://github.com/vim/vim/commit/fb517bac2384798bb5142ed1f75f965f93984c0a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Assert_equalfile() does not take a third argument.
Solution:   Implement the third argument. (Gary Johnson)
https://github.com/vim/vim/commit/fb517bac2384798bb5142ed1f75f965f93984c0a
</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.1523: cannot write and read terminal screendumps</title>
<updated>2019-09-17T01:36:46+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-09-17T01:02:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=792c2903435ceda05e68007d7bee344f65ee3a4f'/>
<id>792c2903435ceda05e68007d7bee344f65ee3a4f</id>
<content type='text'>
Problem:    Cannot write and read terminal screendumps.
Solution:   Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
            Also add assert_equalfile().
https://github.com/vim/vim/commit/d96ff165113ce5fe62107add590997660e3d4802
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Cannot write and read terminal screendumps.
Solution:   Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
            Also add assert_equalfile().
https://github.com/vim/vim/commit/d96ff165113ce5fe62107add590997660e3d4802
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1660: assert_fails() inside try/catch #10472</title>
<updated>2019-07-12T22:09:05+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-07-12T22:09:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=108eb4201f193441c19073ea2bb7780086c46385'/>
<id>108eb4201f193441c19073ea2bb7780086c46385</id>
<content type='text'>
Problem:    Assert_fails() does not fail inside try/catch.
Solution:   Set trylevel to zero. (Ozaki Kiichi, closes vim/vim#4639)
https://github.com/vim/vim/commit/7780e5c1c5485a979ab6e3914a43e17912e213a8</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Assert_fails() does not fail inside try/catch.
Solution:   Set trylevel to zero. (Ozaki Kiichi, closes vim/vim#4639)
https://github.com/vim/vim/commit/7780e5c1c5485a979ab6e3914a43e17912e213a8</pre>
</div>
</content>
</entry>
</feed>
