diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-01-03 03:05:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 03:05:22 -0800 |
commit | a064ed622927b4c5e30165abbe54db841359c71f (patch) | |
tree | 76973648e9ad684068457ff021b4d13281bfad84 /test/functional/legacy/060_exists_and_has_functions_spec.lua | |
parent | ee2127363463b89ba9d5071babcb9bd16c4db691 (diff) | |
parent | 04f2f864e270e772c6326cefdf24947f0130e492 (diff) | |
download | rneovim-a064ed622927b4c5e30165abbe54db841359c71f.tar.gz rneovim-a064ed622927b4c5e30165abbe54db841359c71f.tar.bz2 rneovim-a064ed622927b4c5e30165abbe54db841359c71f.zip |
Merge #26398 lintlua for test/ dir
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.lua | 9 |
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) |