test: remove a few more redundant clear() calls

This commit is contained in:
zeertzjq
2025-09-24 13:10:32 +08:00
parent 0837a1ec2e
commit 2af99811f7
14 changed files with 13 additions and 40 deletions

View File

@@ -16,6 +16,5 @@ local is_os = t.is_os
before_each(clear)
it('windowsversion()', function()
clear()
matches(is_os('win') and '^%d+%.%d+$' or '^$', eval('windowsversion()'))
end)