test: remove a few more redundant clear() calls (#35903)

This commit is contained in:
zeertzjq
2025-09-24 14:25:54 +08:00
committed by GitHub
parent b256e0476b
commit eb7c12d3e3
14 changed files with 13 additions and 40 deletions

View File

@@ -1,12 +1,8 @@
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local eq = t.eq
describe('vim.text', function()
before_each(clear)
describe('indent()', function()
it('validation', function()
t.matches('size%: expected number, got string', t.pcall_err(vim.text.indent, 'x', 'x'))