diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-06-26 05:31:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-26 05:31:27 +0800 |
| commit | 7dd73625dccc8abddf892b54017b655cdafa1183 (patch) | |
| tree | f3ba8a8381e4c3cace2eb0cb249f59a4123aa53c /src/nvim/testdir/test_cmdline.vim | |
| parent | 42e87743170d33133555252f20a72b4fb7f4fd42 (diff) | |
| download | rneovim-7dd73625dccc8abddf892b54017b655cdafa1183.tar.gz rneovim-7dd73625dccc8abddf892b54017b655cdafa1183.tar.bz2 rneovim-7dd73625dccc8abddf892b54017b655cdafa1183.zip | |
revert: "oldtests: use expand() to fix pathsep" (#19073)
This reverts commit e3687165a74ba2f3234cd6acc156ec12f85a5f3a.
No longer needed after #10679.
Diffstat (limited to 'src/nvim/testdir/test_cmdline.vim')
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 887c8e1593..8d1746be2f 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -305,7 +305,7 @@ func Test_getcompletion() call assert_equal([], l) let l = getcompletion('', 'dir') - call assert_true(index(l, expand('sautest/')) >= 0) + call assert_true(index(l, 'sautest/') >= 0) let l = getcompletion('NoMatch', 'dir') call assert_equal([], l) @@ -415,7 +415,7 @@ func Test_getcompletion() " Command line completion tests let l = getcompletion('cd ', 'cmdline') - call assert_true(index(l, expand('sautest/')) >= 0) + call assert_true(index(l, 'sautest/') >= 0) let l = getcompletion('cd NoMatch', 'cmdline') call assert_equal([], l) let l = getcompletion('let v:n', 'cmdline') @@ -539,7 +539,7 @@ func Test_expand_star_star() call mkdir('a/b', 'p') call writefile(['asdfasdf'], 'a/b/fileXname') call feedkeys(":find **/fileXname\<Tab>\<CR>", 'xt') - call assert_equal('find '.expand('a/b/fileXname'), getreg(':')) + call assert_equal('find a/b/fileXname', getreg(':')) bwipe! call delete('a', 'rf') endfunc |