From 1c8de63f11ea31ab32764ea44ce2c8d673520b08 Mon Sep 17 00:00:00 2001 From: Timothy Pidashev Date: Mon, 3 Feb 2025 12:32:07 -0800 Subject: [PATCH] Remove terminal colors test --- tests/darkbox/darkbox_spec.lua | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/darkbox/darkbox_spec.lua b/tests/darkbox/darkbox_spec.lua index 725bc50..792010f 100644 --- a/tests/darkbox/darkbox_spec.lua +++ b/tests/darkbox/darkbox_spec.lua @@ -141,21 +141,4 @@ describe("tests", function() darkbox.load() assert.is_nil(vim.g.terminal_color_0) end) - - it("sets terminal colors when terminal_colors is true", function() - clear_term_colors() - darkbox.setup({ terminal_colors = true }) - darkbox.load() - - -- dark bg - local colors = require("gruvbox").palette - vim.opt.background = "dark" - assert.are.same(vim.g.terminal_color_0, colors.dark0) - - -- light bg - clear_term_colors() - darkbox.load() - vim.opt.background = "light" - assert.are.same(vim.g.terminal_color_0, colors.light0) - end) end)