aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/060_exists_and_has_functions_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-01-03 02:09:18 +0100
committerJustin M. Keyes <justinkz@gmail.com>2024-01-03 02:09:29 +0100
commit04f2f864e270e772c6326cefdf24947f0130e492 (patch)
tree46f83f909b888a66c741032ab955afc6eab84292 /test/functional/legacy/060_exists_and_has_functions_spec.lua
parent59d117ec99b6037cb9fad5bbfb6d0b18f5012927 (diff)
downloadrneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.gz
rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.bz2
rneovim-04f2f864e270e772c6326cefdf24947f0130e492.zip
refactor: format test/*
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)