aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/fnamemodify_spec.lua
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-08-27 22:07:34 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-10-03 20:06:31 +0100
commit0193b3a3917d426bb5798759c3629e9d4f3eb7a8 (patch)
tree3721a9f4d87834c5a63e3004e64d002650a41348 /test/functional/legacy/fnamemodify_spec.lua
parent7ba11e06c0663ac12f110132d86cd463a7937a57 (diff)
downloadrneovim-0193b3a3917d426bb5798759c3629e9d4f3eb7a8.tar.gz
rneovim-0193b3a3917d426bb5798759c3629e9d4f3eb7a8.tar.bz2
rneovim-0193b3a3917d426bb5798759c3629e9d4f3eb7a8.zip
vim-patch:8.1.1336: some eval functionality is not covered by tests
Problem: Some eval functionality is not covered by tests. Solution: Add a few more test cases. (Masato Nishihata, closes vim/vim#4374) https://github.com/vim/vim/commit/17aca707f92235b6f962e637e8073162d18e6de2 Test_expand() changes are required for v8.1.1921. Test_call() and Test_cindent_func() are already ported.
Diffstat (limited to 'test/functional/legacy/fnamemodify_spec.lua')
-rw-r--r--test/functional/legacy/fnamemodify_spec.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/functional/legacy/fnamemodify_spec.lua b/test/functional/legacy/fnamemodify_spec.lua
index 7e859bf0cf..6a5538c26f 100644
--- a/test/functional/legacy/fnamemodify_spec.lua
+++ b/test/functional/legacy/fnamemodify_spec.lua
@@ -60,12 +60,6 @@ describe('filename modifiers', function()
call assert_equal("'abc\\\ndef'", fnamemodify("abc\ndef", ':S'))
endif
endfunc
-
- func Test_expand()
- new
- call assert_equal("", expand('%:S'))
- quit
- endfunc
]=])
end)
@@ -73,9 +67,4 @@ describe('filename modifiers', function()
call('Test_fnamemodify')
expected_empty()
end)
-
- it('works for :S in an unnamed buffer', function()
- call('Test_expand')
- expected_empty()
- end)
end)