diff options
author | kylo252 <[email protected]> | 2021-11-02 17:03:21 +0100 |
---|---|---|
committer | kylo252 <[email protected]> | 2021-11-02 17:03:21 +0100 |
commit | b04bb9b79864e846af8936d6cee6ced0dd0bf93e (patch) | |
tree | 1d4d0a40330f426b51b8d62409d23869887bf7dd /tests/bootstrap_spec.lua | |
parent | 17648e5a07f8c4fe851b09f3037db58c73fe292f (diff) | |
parent | 32ca5afa4ad21f1a616cc30323c272191e7548c1 (diff) |
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to 'tests/bootstrap_spec.lua')
-rw-r--r-- | tests/bootstrap_spec.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bootstrap_spec.lua b/tests/bootstrap_spec.lua index d92e213d..c86d22d4 100644 --- a/tests/bootstrap_spec.lua +++ b/tests/bootstrap_spec.lua @@ -25,4 +25,12 @@ a.describe("initial start", function() a.it("should be able to run treesitter without errors", function() assert.truthy(vim.treesitter.highlighter.active) end) + + a.it("should be able to pass basic checkhealth without errors", function() + vim.cmd "checkhealth nvim" + local errmsg = vim.fn.eval "v:errmsg" + local exception = vim.fn.eval "v:exception" + assert.equal("", errmsg) -- v:errmsg was not updated. + assert.equal("", exception) + end) end) |