From 554cfc5f33a93028729353768cd96c3df8ce6d49 Mon Sep 17 00:00:00 2001 From: Leon Connor Holm Date: Mon, 21 Aug 2023 10:17:52 +0200 Subject: [PATCH] feat(#7): updatet rtp tests --- tests/specs/bootstrap_spec.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()