mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
test: remove a few more redundant clear() calls (#35903)
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
local t = require('test.testutil')
|
||||
local n = require('test.functional.testnvim')()
|
||||
|
||||
local eq = t.eq
|
||||
|
||||
describe('glob', function()
|
||||
before_each(n.clear)
|
||||
|
||||
local match = function(pattern, str)
|
||||
return n.exec_lua(function()
|
||||
return require('vim.glob').to_lpeg(pattern):match(str) ~= nil
|
||||
end)
|
||||
return require('vim.glob').to_lpeg(pattern):match(str) ~= nil
|
||||
end
|
||||
|
||||
describe('glob matching', function()
|
||||
|
Reference in New Issue
Block a user