Skip to content

Commit

Permalink
Re-enable nightly channel in test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
julienvincent committed Oct 11, 2024
1 parent 73c16b4 commit 04e1feb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ jobs:
matrix:
channel:
- v0.9.5
- v0.10.0
- stable
# - nightly
- v0.10.2
- nightly
steps:
- uses: actions/checkout@v2

Expand Down
8 changes: 5 additions & 3 deletions tests/nvim-paredit/operator_motion_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ describe("motions with operator pending", function()
content = " (b b)",
cursor = { 1, 0 },
})
vim.treesitter.get_parser(0):parse()
feedkeys("d<S-e>")
expect({
content = "",
Expand All @@ -36,7 +37,7 @@ describe("motions with operator pending", function()
})
feedkeys("d<S-w>")
expect({
content = {"(b b)"},
content = { "(b b)" },
cursor = { 1, 0 },
})
end)
Expand All @@ -48,7 +49,7 @@ describe("motions with operator pending", function()
})
feedkeys("dg<S-e>")
expect({
content = {"(a a)"},
content = { "(a a)" },
cursor = { 1, 4 },
})
end)
Expand Down Expand Up @@ -79,7 +80,7 @@ describe("motions with operator pending", function()

it("should delete 2 forms within parent form and join up", function()
prepare_buffer({
content = {"[(a a) (b b) (c c)]"},
content = { "[(a a) (b b) (c c)]" },
cursor = { 1, 1 },
})
feedkeys("2d<S-w>")
Expand All @@ -99,6 +100,7 @@ describe("motions with operator pending", function()
content = { "", ";; comment", "(b b)" },
cursor = { 1, 0 },
})
vim.treesitter.get_parser(0):parse()
feedkeys("d<S-e>")
expect({
content = "",
Expand Down

0 comments on commit 04e1feb

Please sign in to comment.