diff --git a/tests/specs/bootstrap_spec.lua b/tests/specs/bootstrap_spec.lua index a16f779..1e83f66 100644 --- a/tests/specs/bootstrap_spec.lua +++ b/tests/specs/bootstrap_spec.lua @@ -6,7 +6,8 @@ a.describe("initial start", function() local qvim_config_path = get_qvim_config_dir() local qvim_data_path = get_qvim_data_dir() local qvim_cache_path = get_qvim_cache_dir() - local qvim_state_path = get_qvim_rtp_dir() + local qvim_state_path = get_qvim_state_dir() + local qvim_rtp_path = get_qvim_rtp_dir() a.it("NVIM_APPNAME variable should be set", function() assert.truthy(os.getenv("NVIM_APPNAME") ~= nil) @@ -17,6 +18,7 @@ a.describe("initial start", function() assert.equal(qvim_data_path, vim.fn.stdpath("data")) assert.equal(qvim_cache_path, vim.fn.stdpath("cache")) assert.equal(qvim_state_path, vim.fn.stdpath("state")) + assert.equal(qvim_rtp_path, vim.fn.stdpath("rtp")) end) a.it("should NOT be able to retrieve default neovim directories", function()