mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
Fix broken YANG indent tests
This commit is contained in:
parent
06e8a91ce2
commit
061ee1b98f
1 changed files with 4 additions and 4 deletions
|
|
@ -15,9 +15,9 @@ describe("indent YANG:", function()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
describe("new line:", function()
|
describe("new line:", function()
|
||||||
run:new_line("module.yang", { on_line = 12, text = "# Aligned indentation ended", indent = 2 })
|
run:new_line("module.yang", { on_line = 12, text = "// Aligned indentation ended", indent = 2 })
|
||||||
run:new_line("module.yang", { on_line = 37, text = "# Test", indent = 2 })
|
run:new_line("module.yang", { on_line = 37, text = "// Test", indent = 4 })
|
||||||
run:new_line("module.yang", { on_line = 40, text = "# Test", indent = 4 })
|
run:new_line("module.yang", { on_line = 40, text = "// Test", indent = 4 })
|
||||||
run:new_line("module.yang", { on_line = 52, text = "Aligned string!", indent = 4 })
|
run:new_line("module.yang", { on_line = 52, text = "Aligned string!", indent = 11 })
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue