mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
simplify tests
This commit is contained in:
parent
d335c39bff
commit
f6531e27fd
3 changed files with 2 additions and 13 deletions
|
|
@ -1,7 +1,3 @@
|
||||||
import go
|
|
||||||
|
|
||||||
module Test {
|
module Test {
|
||||||
predicate test() {}
|
predicate test() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
select 1
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
library: false
|
|
||||||
name: test/test
|
|
||||||
version: 0.0.1
|
|
||||||
dependencies:
|
|
||||||
codeql/go-all: '*'
|
|
||||||
|
|
||||||
|
|
@ -16,9 +16,9 @@ describe("indent Lua:", function()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
describe("new line:", function()
|
describe("new line:", function()
|
||||||
run:new_line("module.ql", { on_line = 3, text = "predicate foo() {}", indent = 2 })
|
run:new_line("module.ql", { on_line = 1, text = "predicate foo() {}", indent = 2 })
|
||||||
end)
|
end)
|
||||||
|
|
||||||
describe("new line:", function()
|
describe("new line:", function()
|
||||||
run:new_line("module.ql", { on_line = 4, text = "predicate foo() {}", indent = 2 })
|
run:new_line("module.ql", { on_line = 2, text = "predicate foo() {}", indent = 2 })
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue