aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/060_exists_and_has_functions_spec.lua
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:00:41 -0700
committerJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:00:41 -0700
commit7a7f497b483cd65e340064f23ed1c73425ecba0a (patch)
treed5c99ea22a1e10300d06165f8ac96df6b0dc59e1 /test/functional/legacy/060_exists_and_has_functions_spec.lua
parent1b7b916b7631ddf73c38e3a0070d64e4636cb2f3 (diff)
parentade1b12f49c3b3914c74847d791eb90ea90b56b7 (diff)
downloadrneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.gz
rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.bz2
rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.zip
Merge remote-tracking branch 'upstream/master' into aucmd_textputpost
Diffstat (limited to 'test/functional/legacy/060_exists_and_has_functions_spec.lua')
-rw-r--r--test/functional/legacy/060_exists_and_has_functions_spec.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/functional/legacy/060_exists_and_has_functions_spec.lua b/test/functional/legacy/060_exists_and_has_functions_spec.lua
index 1794f23b3a..82fece3e84 100644
--- a/test/functional/legacy/060_exists_and_has_functions_spec.lua
+++ b/test/functional/legacy/060_exists_and_has_functions_spec.lua
@@ -9,7 +9,9 @@ describe('exists() and has() functions', function()
setup(function()
clear()
-- Create a temporary script needed for the test.
- write_file('test60.vim', [[
+ write_file(
+ 'test60.vim',
+ [[
" Vim script for exists() function test
" Script-local variables are checked here
@@ -107,7 +109,8 @@ describe('exists() and has() functions', function()
echo "FAILED"
endif
unlet str
- ]])
+ ]]
+ )
end)
teardown(function()
os.remove('test.out')
@@ -115,7 +118,6 @@ describe('exists() and has() functions', function()
end)
it('is working', function()
-
source([=[
" Add the special directory with test scripts to &rtp
set rtp+=test/functional/fixtures
@@ -850,6 +852,5 @@ describe('exists() and has() functions', function()
g:footest#x = 1
footest#F() 0
UndefFun() 0]])
-
end)
end)