From fd270b8215adfc8197799457ade605da389c054e Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Tue, 3 Feb 2026 02:53:25 -0500 Subject: [PATCH] fix(test): remove other uesless test --- spec/init_spec.lua | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/spec/init_spec.lua b/spec/init_spec.lua index 8311377..19da8f7 100644 --- a/spec/init_spec.lua +++ b/spec/init_spec.lua @@ -131,26 +131,6 @@ describe('diffs', function() end) end) - describe('config options', function() - it('enabled=false prevents highlighting', function() - diffs.setup({ enabled = false }) - local bufnr = vim.api.nvim_create_buf(false, true) - vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, { - 'M test.lua', - '@@ -1,1 +1,2 @@', - ' local x = 1', - '+local y = 2', - }) - diffs.attach(bufnr) - - local ns = vim.api.nvim_create_namespace('diffs') - local extmarks = vim.api.nvim_buf_get_extmarks(bufnr, ns, 0, -1, {}) - assert.are.equal(0, #extmarks) - - vim.api.nvim_buf_delete(bufnr, { force = true }) - end) - end) - describe('is_fugitive_buffer', function() it('returns true for fugitive:// URLs', function() local bufnr = vim.api.nvim_create_buf(false, true)