Skip to content

Commit

Permalink
fix: test path change
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Aug 30, 2023
1 parent 930da30 commit b096658
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
path: null-ls.nvim
path: none-ls.nvim
- uses: actions/checkout@v2
with:
repository: nvim-lua/plenary.nvim
path: null-ls.nvim/.tests/site/pack/deps/start/plenary.nvim
path: none-ls.nvim/.tests/site/pack/deps/start/plenary.nvim
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
- run: make test
working-directory: null-ls.nvim
working-directory: none-ls.nvim
timeout-minutes: 1
3 changes: 1 addition & 2 deletions scripts/autogen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ local NULL_LS_DIR = vim.loop.cwd()
local BUILTINS_DIR = join_paths(NULL_LS_DIR, "lua", "null-ls", "builtins")
local META_DIR = join_paths(BUILTINS_DIR, "_meta")
local DOC_FILE = join_paths(NULL_LS_DIR, "doc", "BUILTINS.md")
local BUILTINS_URL_TEMPLATE =
"https://github.com/nvimtools/none-ls.nvim/blob/main/lua/null-ls/builtins/%s/%s.lua"
local BUILTINS_URL_TEMPLATE = "https://github.com/nvimtools/none-ls.nvim/blob/main/lua/null-ls/builtins/%s/%s.lua"

-- metadata
local sources = {}
Expand Down
2 changes: 1 addition & 1 deletion test/spec/utils/utils_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ describe("utils", function()

describe("root_matches", function()
it("should return true if root matches pattern", function()
assert.truthy(utils.root_matches("null%-ls"))
assert.truthy(utils.root_matches("none%-ls"))
end)

it("should return false if root does not match pattern", function()
Expand Down

0 comments on commit b096658

Please sign in to comment.