mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-26 14:20:04 +08:00
21 lines
471 B
Lua
Vendored
21 lines
471 B
Lua
Vendored
local Runner = require("tests.indent.common").Runner
|
|
|
|
local run = Runner:new(it, "tests/indent/gdscript", {
|
|
tabstop = 4,
|
|
shiftwidth = 4,
|
|
softtabstop = 0,
|
|
expandtab = false,
|
|
})
|
|
|
|
describe("indent GDScript:", function()
|
|
describe("whole file:", function()
|
|
run:whole_file(".", {
|
|
expected_failures = {},
|
|
})
|
|
end)
|
|
|
|
describe("new line:", function()
|
|
run:new_line("basic_blocks.gd", { on_line = 1, text = "var member := 0", indent = 0 })
|
|
end)
|
|
end)
|