From 04f2f864e270e772c6326cefdf24947f0130e492 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 3 Jan 2024 02:09:18 +0100 Subject: refactor: format test/* --- test/functional/legacy/060_exists_and_has_functions_spec.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/functional/legacy/060_exists_and_has_functions_spec.lua') 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) -- cgit