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:
zeertzjq
2026-07-03 08:18:01 +08:00
committed by GitHub
parent 7325e3b55a
commit 87c2319986

View File

@@ -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