diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/specs/bootstrap_spec.lua | 4 | ||||
-rw-r--r-- | tests/specs/lsp_spec.lua | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/specs/bootstrap_spec.lua b/tests/specs/bootstrap_spec.lua index b866e4d4..94dd31b1 100644 --- a/tests/specs/bootstrap_spec.lua +++ b/tests/specs/bootstrap_spec.lua @@ -6,12 +6,12 @@ a.describe("initial start", function() local lvim_config_path = get_config_dir() or home_dir .. "/.config/lvim" local lvim_runtime_path = get_runtime_dir() or home_dir .. "/.local/share/lunarvim" - a.it("shoud be able to detect test environment", function() + a.it("should be able to detect test environment", function() assert.truthy(os.getenv "LVIM_TEST_ENV") assert.falsy(package.loaded["lvim.impatient"]) end) - a.it("should not be reading default neovim directories in the home directoies", function() + a.it("should not be reading default neovim directories in the home directories", function() local rtp_list = vim.opt.rtp:get() assert.falsy(vim.tbl_contains(rtp_list, vim.fn.stdpath "config")) end) diff --git a/tests/specs/lsp_spec.lua b/tests/specs/lsp_spec.lua index 633aa17c..388a24bb 100644 --- a/tests/specs/lsp_spec.lua +++ b/tests/specs/lsp_spec.lua @@ -8,14 +8,14 @@ a.describe("lsp workflow", function() local Log = require "lvim.core.log" local logfile = Log:get_path() - a.it("shoud be able to delete ftplugin templates", function() + a.it("should be able to delete ftplugin templates", function() if utils.is_directory(lvim.lsp.templates_dir) then assert.equal(vim.fn.delete(lvim.lsp.templates_dir, "rf"), 0) end assert.False(utils.is_directory(lvim.lsp.templates_dir)) end) - a.it("shoud be able to generate ftplugin templates", function() + a.it("should be able to generate ftplugin templates", function() if utils.is_directory(lvim.lsp.templates_dir) then assert.equal(vim.fn.delete(lvim.lsp.templates_dir, "rf"), 0) end @@ -27,7 +27,7 @@ a.describe("lsp workflow", function() end) end) - a.it("shoud not attempt to re-generate ftplugin templates", function() + a.it("should not attempt to re-generate ftplugin templates", function() lvim.log.level = "debug" local plugins = require "lvim.plugins" @@ -46,7 +46,7 @@ a.describe("lsp workflow", function() end) end) - a.it("shoud not include blacklisted servers in the generated templates", function() + a.it("should not include blacklisted servers in the generated templates", function() assert.True(utils.is_directory(lvim.lsp.templates_dir)) require("lvim.lsp").setup() @@ -57,7 +57,7 @@ a.describe("lsp workflow", function() end end) - a.it("shoud only include one server per generated template", function() + a.it("should only include one server per generated template", function() assert.True(utils.is_directory(lvim.lsp.templates_dir)) require("lvim.lsp").setup() |