fix(test): proper stubbing/mocking

This commit is contained in:
Barrett Ruth 2025-09-20 16:54:09 -04:00
parent 27a44697ce
commit 26807d42ba
3 changed files with 20 additions and 58 deletions

View file

@ -88,7 +88,7 @@ describe('cp.config', function()
assert.has_error(function()
config.setup(invalid_config)
end, 'ansi color parsing must be enabled xor disabled')
end, 'ansi: expected ansi color parsing must be enabled xor disabled, got string')
end)
it('validates diff_mode values', function()