mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: eval_spec.lua: minor cleanup
This commit is contained in:
parent
6c77ea1cb6
commit
41f6a10a9b
@ -38,8 +38,6 @@ describe('eval', function()
|
||||
end)
|
||||
before_each(clear)
|
||||
teardown(function()
|
||||
os.remove('test.out')
|
||||
os.remove('test_eval_func.vim')
|
||||
os.remove('test_eval_setup.vim')
|
||||
end)
|
||||
|
||||
@ -421,7 +419,7 @@ describe('eval', function()
|
||||
|
||||
-- The tests for setting lists with NLs are split into seperate it() blocks
|
||||
-- to make the expect() calls easier to write. Otherwise the null byte can
|
||||
-- make trouble on a line on it's own.
|
||||
-- make trouble on a line on its own.
|
||||
it('setting lists with NLs with setreg(), part 1', function()
|
||||
execute('so test_eval_setup.vim')
|
||||
execute([=[call SetReg('a', ['abcA4-0', "\n", "abcA4-2\n", "\nabcA4-3", "abcA4-4\nabcA4-4-2"])]=])
|
||||
@ -519,7 +517,6 @@ describe('eval', function()
|
||||
=: type v; value: abc/]].."\x00 (['abc/\x00"..[[']), expr: "abc/]]..'\x00'..[[" (['"abc/]]..'\x00'..[["'])]])
|
||||
end)
|
||||
|
||||
-- If the clipboard feature is not available the next test will be sciped.
|
||||
if has_clipboard() then
|
||||
it('system clipboard', function()
|
||||
insert([[
|
||||
|
Loading…
Reference in New Issue
Block a user