aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/css_spec.lua
diff options
context:
space:
mode:
authorKiyan <yazdani.kiyan@protonmail.com>2022-07-21 13:48:03 +0200
committerGitHub <noreply@github.com>2022-07-21 13:48:03 +0200
commitd7f06bfb1381a2741c1bcbadf1bc1e3ed77abea4 (patch)
treeeac4f46b175c67afbe488a874854913667c319d2 /tests/indent/css_spec.lua
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-d7f06bfb1381a2741c1bcbadf1bc1e3ed77abea4.tar
nvim-treesitter-d7f06bfb1381a2741c1bcbadf1bc1e3ed77abea4.tar.gz
nvim-treesitter-d7f06bfb1381a2741c1bcbadf1bc1e3ed77abea4.tar.bz2
nvim-treesitter-d7f06bfb1381a2741c1bcbadf1bc1e3ed77abea4.tar.lz
nvim-treesitter-d7f06bfb1381a2741c1bcbadf1bc1e3ed77abea4.tar.xz
nvim-treesitter-d7f06bfb1381a2741c1bcbadf1bc1e3ed77abea4.tar.zst
nvim-treesitter-d7f06bfb1381a2741c1bcbadf1bc1e3ed77abea4.zip
fix(indents): indents for error block (css, lua) (#3207)
Diffstat (limited to 'tests/indent/css_spec.lua')
-rw-r--r--tests/indent/css_spec.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/indent/css_spec.lua b/tests/indent/css_spec.lua
index e8eadf836..46c7e1afb 100644
--- a/tests/indent/css_spec.lua
+++ b/tests/indent/css_spec.lua
@@ -1,5 +1,4 @@
local Runner = require("tests.indent.common").Runner
-local XFAIL = require("tests.indent.common").XFAIL
local run = Runner:new(it, "tests/indent/css", {
tabstop = 2,
@@ -17,12 +16,7 @@ describe("indent CSS:", function()
describe("new line:", function()
run:new_line("open_block.css", { on_line = 1, text = "}", indent = 0 })
- run:new_line(
- "open_block.css",
- { on_line = 1, text = "color: green;", indent = 2 },
- "might fail because tree is in a broken state",
- XFAIL
- )
+ run:new_line("open_block.css", { on_line = 1, text = "color: green;", indent = 2 })
run:new_line("next_rule.css", { on_line = 3, text = ".next {", indent = 0 })
end)
end)