diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-01-03 02:09:18 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2024-01-03 02:09:29 +0100 |
commit | 04f2f864e270e772c6326cefdf24947f0130e492 (patch) | |
tree | 46f83f909b888a66c741032ab955afc6eab84292 /test/functional/ex_cmds/sign_spec.lua | |
parent | 59d117ec99b6037cb9fad5bbfb6d0b18f5012927 (diff) | |
download | rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.gz rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.bz2 rneovim-04f2f864e270e772c6326cefdf24947f0130e492.zip |
refactor: format test/*
Diffstat (limited to 'test/functional/ex_cmds/sign_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/sign_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/ex_cmds/sign_spec.lua b/test/functional/ex_cmds/sign_spec.lua index f280a45174..30c6f9ac47 100644 --- a/test/functional/ex_cmds/sign_spec.lua +++ b/test/functional/ex_cmds/sign_spec.lua @@ -9,21 +9,21 @@ describe('sign', function() -- place a sign with id 34 to first buffer nvim('command', 'sign define Foo text=+ texthl=Delimiter linehl=Comment numhl=Number') local buf1 = nvim('eval', 'bufnr("%")') - nvim('command', 'sign place 34 line=3 name=Foo buffer='..buf1) + nvim('command', 'sign place 34 line=3 name=Foo buffer=' .. buf1) -- create a second buffer and place the sign on it as well nvim('command', 'new') local buf2 = nvim('eval', 'bufnr("%")') - nvim('command', 'sign place 34 line=3 name=Foo buffer='..buf2) + nvim('command', 'sign place 34 line=3 name=Foo buffer=' .. buf2) -- now unplace without specifying a buffer nvim('command', 'sign unplace 34') - eq("--- Signs ---\n", nvim('exec', 'sign place buffer='..buf1, true)) - eq("--- Signs ---\n", nvim('exec', 'sign place buffer='..buf2, true)) + eq('--- Signs ---\n', nvim('exec', 'sign place buffer=' .. buf1, true)) + eq('--- Signs ---\n', nvim('exec', 'sign place buffer=' .. buf2, true)) end) end) end) describe('define {id}', function() - it ('does not leak memory when specifying multiple times the same argument', function() + it('does not leak memory when specifying multiple times the same argument', function() nvim('command', 'sign define Foo culhl=Normal culhl=Normal') assert_alive() end) |