Skip to content

Commit

Permalink
Merge pull request #24 from QuantumVim/7-feat-runtime-path-modificati…
Browse files Browse the repository at this point in the history
…ons-and-user-config-after-directory

feat(#7): updated rtp tests
  • Loading branch information
quantumfate authored Aug 21, 2023
2 parents 3eac59a + 554cfc5 commit 81cae48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/specs/bootstrap_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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()
Expand Down

0 comments on commit 81cae48

Please sign in to comment.