mirror of
https://github.com/neovim/neovim.git
synced 2026-07-09 19:09:39 +00:00
vim-patch:9.2.0763: tests: style issue in test_plugin_netrw (#40543)
Problem: tests: style issue in test_plugin_netrw (after v9.2.0761)
Solution: Clean-up newly created directory, use consistent concat
operator
1ebd2fdb78
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -891,12 +891,12 @@ func Test_netrw_open_backslash_file()
|
||||
|
||||
let dir = getcwd() . '/Xbslash'
|
||||
let fname = dir . '/\'
|
||||
call mkdir(dir, 'p')
|
||||
call mkdir(dir, 'pR')
|
||||
call writefile(['backslash file content'], fname)
|
||||
call assert_true(filereadable(fname))
|
||||
|
||||
" list the directory and move onto the '\' entry
|
||||
exe 'Explore ' .. dir
|
||||
exe 'Explore ' . dir
|
||||
call assert_true(search('^\\$', 'w') > 0)
|
||||
|
||||
" open it
|
||||
|
||||
Reference in New Issue
Block a user