From 55f9c2136e52d8719495b6021ce7e8d64c5141fe Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Wed, 25 Mar 2026 13:33:17 +0000 Subject: test: replace busted with local harness Replace the busted-based Lua test runner with a repo-local harness. The new harness runs spec files directly under `nvim -ll`, ships its own reporter and lightweight `luassert` shim, and keeps the helper/preload flow used by the functional and unit test suites. Keep the file boundary model shallow and busted-like by restoring `_G`, `package.loaded`, `package.preload`, `arg`, and the process environment between files, without carrying extra reset APIs or custom assertion machinery. Update the build and test entrypoints to use the new runner, add black-box coverage for the harness itself, and drop the bundled busted/luacheck dependency path. AI-assisted: Codex --- test/format_string.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/format_string.lua') diff --git a/test/format_string.lua b/test/format_string.lua index 777fb652e8..0e4ed9ab97 100644 --- a/test/format_string.lua +++ b/test/format_string.lua @@ -1,5 +1,3 @@ -local luaassert = require('luassert') - local M = {} local SUBTBL = { @@ -124,7 +122,7 @@ function M.format_luav(v, indent, opts) else print(type(v)) -- Not implemented yet - luaassert(false) + assert(false) end return ret end -- cgit