simplify tests

This commit is contained in:
Alvaro Muñoz 2023-01-31 12:20:52 +01:00 committed by Stephan Seitz
parent d335c39bff
commit f6531e27fd
3 changed files with 2 additions and 13 deletions

View file

@ -1,7 +1,3 @@
import go
module Test {
predicate test() {}
}
select 1

View file

@ -1,7 +0,0 @@
---
library: false
name: test/test
version: 0.0.1
dependencies:
codeql/go-all: '*'

View file

@ -16,9 +16,9 @@ describe("indent Lua:", function()
end)
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)
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)