<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/autocmd, branch newfeatures</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<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='https://git.josher.dev/cgit/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: reorg #15698</title>
<updated>2021-09-17T16:16:40+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-17T16:16:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d8de4eb685e35646c7d541e9a75bdc296127b7e2'/>
<id>d8de4eb685e35646c7d541e9a75bdc296127b7e2</id>
<content type='text'>
Problem:
Subdirectories like "visual", "insert", "normal" encourage people to
separate *related* tests for no good reason.  Typically the _mode_ is
not the relevant topic of a test (and when it is, _then_ create
an appropriate describe() or it()).

Solution:
- Delete the various `test/functional/&lt;mode&gt;/` subdirectories, move
  their tests to more meaningful topics.
- Rename `…/normal/` to `…/editor/`.
  - Move or merge `…/visual/*` and `…/insert/*` tests into here where
    appropriate.
- Rename `…/eval/` to `…/vimscript/`.
  - Move `…/viml/*` into here also.

* test(reorg): insert/* =&gt; editor/mode_insert_spec.lua
* test(reorg): cmdline/* =&gt; editor/mode_cmdline_spec.lua
* test(reorg): eval core tests =&gt; eval_spec.lua</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Subdirectories like "visual", "insert", "normal" encourage people to
separate *related* tests for no good reason.  Typically the _mode_ is
not the relevant topic of a test (and when it is, _then_ create
an appropriate describe() or it()).

Solution:
- Delete the various `test/functional/&lt;mode&gt;/` subdirectories, move
  their tests to more meaningful topics.
- Rename `…/normal/` to `…/editor/`.
  - Move or merge `…/visual/*` and `…/insert/*` tests into here where
    appropriate.
- Rename `…/eval/` to `…/vimscript/`.
  - Move `…/viml/*` into here also.

* test(reorg): insert/* =&gt; editor/mode_insert_spec.lua
* test(reorg): cmdline/* =&gt; editor/mode_cmdline_spec.lua
* test(reorg): eval core tests =&gt; eval_spec.lua</pre>
</div>
</content>
</entry>
<entry>
<title>feat(terminal): TermClose: set exit code in v:event.status #15406</title>
<updated>2021-08-20T17:45:28+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-20T17:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=50b30de2007961718cc11811a30f6b0f35c3c793'/>
<id>50b30de2007961718cc11811a30f6b0f35c3c793</id>
<content type='text'>
Closes #4713</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #4713</pre>
</div>
</content>
</entry>
<entry>
<title>Fix `&lt;afile&gt;` getting prepended with a slash on WinClosed (#14515)</title>
<updated>2021-06-26T14:18:36+00:00</updated>
<author>
<name>Ghjuvan Lacambre</name>
<email>code@lacamb.re</email>
</author>
<published>2021-06-26T14:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ad9c2c069a96b694956fcae3614c637aeb5fa6fe'/>
<id>ad9c2c069a96b694956fcae3614c637aeb5fa6fe</id>
<content type='text'>
It is wrong to assume that you can't shorten a path if it's in `/`: you
can always shorten it by removing the forward slash.

Closes #14512</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is wrong to assume that you can't shorten a path if it's in `/`: you
can always shorten it by removing the forward slash.

Closes #14512</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13205 from romgrk/add-bufmodified-autocmd</title>
<updated>2020-11-09T11:23:14+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2020-11-09T11:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=42ffa2d62ee714a165d56f5fa8022a32c7534d71'/>
<id>42ffa2d62ee714a165d56f5fa8022a32c7534d71</id>
<content type='text'>
Implement BufModifiedSet autocmd</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement BufModifiedSet autocmd</pre>
</div>
</content>
</entry>
<entry>
<title>test: update BufModifiedSet to be paranoid</title>
<updated>2020-11-09T09:06:53+00:00</updated>
<author>
<name>Rom Grk</name>
<email>romgrk.cc@gmail.com</email>
</author>
<published>2020-11-09T09:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=11326761c77372eba83b47139f5b53c6cd5c536a'/>
<id>11326761c77372eba83b47139f5b53c6cd5c536a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: fix BufModifiedSet</title>
<updated>2020-11-08T03:17:18+00:00</updated>
<author>
<name>Rom Grk</name>
<email>romgrk.cc@gmail.com</email>
</author>
<published>2020-11-08T03:17:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=45d9f4fe6fe6b6a8af6a8a3933d35e8763685468'/>
<id>45d9f4fe6fe6b6a8af6a8a3933d35e8763685468</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 functional test for BufModifiedSet</title>
<updated>2020-11-08T00:18:00+00:00</updated>
<author>
<name>Rom Grk</name>
<email>romgrk.cc@gmail.com</email>
</author>
<published>2020-11-08T00:18:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3628d1ef72cd48cef49db5ace9bfe77eb77d18f8'/>
<id>3628d1ef72cd48cef49db5ace9bfe77eb77d18f8</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:event flag on DirChanged signaling switching window (#13153)</title>
<updated>2020-11-07T17:02:06+00:00</updated>
<author>
<name>Andrea Cedraro</name>
<email>a.cedraro@gmail.com</email>
</author>
<published>2020-11-07T17:02:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4c7ad9527db7c4476fd07c1fa95d89983dfba775'/>
<id>4c7ad9527db7c4476fd07c1fa95d89983dfba775</id>
<content type='text'>
Closes #9909</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #9909</pre>
</div>
</content>
</entry>
<entry>
<title>my fight with the linter (tome II)</title>
<updated>2020-11-07T04:44:32+00:00</updated>
<author>
<name>Rom Grk</name>
<email>romgrk.cc@gmail.com</email>
</author>
<published>2020-11-07T04:44:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=cedfc1b7477060917a31d4f1c526db3da0deb15c'/>
<id>cedfc1b7477060917a31d4f1c526db3da0deb15c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
