[vim/vim] tests: no check that g:netrw_home has higher priority than $MYVIMDIR (PR #21117)

zeertzjq (Vim Github Repository) <[email protected]>
Newsgroups gmane.editors.vim.devel
Message-ID <vim/vim/pull/[email protected]>
Problem:  No check that g:netrw_home has higher priority than $MYVIMDIR.
Solution: Set $MYVIMDIR to a different directory at the start of the
          test function.

Also, s:NetrwHome() checks has('nvim') before exists('$MYVIMDIR'). This
ordering does make sense as Nvim's docs have no mention of $MYVIMDIR.
Match that in the test.

You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21117

-- Commit Summary --

  * tests: no check that g:netrw_home has higher priority than $MYVIMDIR

-- File Changes --

    M src/testdir/test_plugin_netrw.vim (19)

-- Patch Links --

https://github.com/vim/vim/pull/21117.patch
https://github.com/vim/vim/pull/21117.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/21117
You are receiving this because you are subscribed to this thread.

Message ID: <vim/vim/pull/[email protected]>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/21117%40github.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.