<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/lua/commands_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>fix(lua): print multiple return values with =expr (#16933)</title>
<updated>2022-01-06T18:42:31+00:00</updated>
<author>
<name>Shadman</name>
<email>13149513+shadmansaleh@users.noreply.github.com</email>
</author>
<published>2022-01-06T18:42:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=287d3566de11f82aa86448998fd4703b1db328bd'/>
<id>287d3566de11f82aa86448998fd4703b1db328bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): make =expr print result of expr</title>
<updated>2022-01-04T10:08:07+00:00</updated>
<author>
<name>shadmansaleh</name>
<email>13149513+shadmansaleh@users.noreply.github.com</email>
</author>
<published>2022-01-04T05:05:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d44254641ffb5c9f185db4082d2bf1f04bf1117e'/>
<id>d44254641ffb5c9f185db4082d2bf1f04bf1117e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): enable stack traces in error output (#16228)</title>
<updated>2021-11-06T14:26:10+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2021-11-06T14:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=03b805aee617f67eb7f33a54822bc76c23a2c5f5'/>
<id>03b805aee617f67eb7f33a54822bc76c23a2c5f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(tests): remove redir_exec #15718</title>
<updated>2021-09-19T09:29:37+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-19T09:29:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2afbce7651f79b0626ebeae3688274ce18ac2920'/>
<id>2afbce7651f79b0626ebeae3688274ce18ac2920</id>
<content type='text'>
Problem
- `redir_exec` is obsolete, but it keeps getting used in new tests
  because people copy existing tests.
- Disadvantages of `redir_exec`:
  - Captures extra junk before the actual error/message that we _want_ to test.
  - Does not fail on error, unlike e.g. `command()`.

Solution
- Use new functions like `nvim_exec` and `pcall_err`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem
- `redir_exec` is obsolete, but it keeps getting used in new tests
  because people copy existing tests.
- Disadvantages of `redir_exec`:
  - Captures extra junk before the actual error/message that we _want_ to test.
  - Does not fail on error, unlike e.g. `command()`.

Solution
- Use new functions like `nvim_exec` and `pcall_err`.</pre>
</div>
</content>
</entry>
<entry>
<title>test/vim.validate(): assert normalized stacktrace</title>
<updated>2020-10-05T13:47:59+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2020-09-13T02:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8e77d70e29f936f4e708ee3244046188b8ad0383'/>
<id>8e77d70e29f936f4e708ee3244046188b8ad0383</id>
<content type='text'>
- The previous commit lost information in the tests. Instead, add some
  more "normalization" substitutions in pcall_err(), so that the general
  shape of the stacktrace is included in the asserted text.
- Eliminate contains(), it is redundant with matches()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- The previous commit lost information in the tests. Instead, add some
  more "normalization" substitutions in pcall_err(), so that the general
  shape of the stacktrace is included in the asserted text.
- Eliminate contains(), it is redundant with matches()
</pre>
</div>
</content>
</entry>
<entry>
<title>API: include invalid buffer/window/tabpage in error message (#11712)</title>
<updated>2020-01-14T08:21:10+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2020-01-14T08:21:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3d1531aee5d92375b69098de8f8c788ea407b066'/>
<id>3d1531aee5d92375b69098de8f8c788ea407b066</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add v:lua.func() vimL syntax for calling lua</title>
<updated>2019-11-16T21:33:21+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2019-10-30T19:53:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=dab40f43b18d35b283804ecb033310198cbf7548'/>
<id>dab40f43b18d35b283804ecb033310198cbf7548</id>
<content type='text'>
Also simplify error messages when calling lua from vimL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also simplify error messages when calling lua from vimL.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/lua: test for multiline error messages in lua</title>
<updated>2019-01-23T18:34:13+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2019-01-22T18:55:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f7b174eb711a8d1d54338d6189d7d993e4526997'/>
<id>f7b174eb711a8d1d54338d6189d7d993e4526997</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>executor,functests: Add print() tests, some fixes</title>
<updated>2017-03-26T21:13:16+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-01-29T20:22:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9fd2bf67aa1db66e3465753d5aaaec342f4ce193'/>
<id>9fd2bf67aa1db66e3465753d5aaaec342f4ce193</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>executor: Add :luafile command</title>
<updated>2017-03-26T21:12:42+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-01-29T16:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=dcb992ab3759b604c1824913002714a018be0532'/>
<id>dcb992ab3759b604c1824913002714a018be0532</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
