From b1380560a0f8fe339109ac33840eea5b0ac91cc4 Mon Sep 17 00:00:00 2001 From: Daniel Woznicki Date: Fri, 18 Mar 2022 14:13:27 -0700 Subject: Added fix for incorrect CSS indent after closing bracket Added a failing test for possible broken CSS syntax tree --- tests/indent/css/block.css | 1 + tests/indent/css/closing.css | 1 + tests/indent/css/next_rule.css | 3 +++ 3 files changed, 5 insertions(+) create mode 100644 tests/indent/css/block.css create mode 100644 tests/indent/css/closing.css create mode 100644 tests/indent/css/next_rule.css (limited to 'tests/indent/css') diff --git a/tests/indent/css/block.css b/tests/indent/css/block.css new file mode 100644 index 000000000..cc79c2c06 --- /dev/null +++ b/tests/indent/css/block.css @@ -0,0 +1 @@ +.testo { diff --git a/tests/indent/css/closing.css b/tests/indent/css/closing.css new file mode 100644 index 000000000..cc79c2c06 --- /dev/null +++ b/tests/indent/css/closing.css @@ -0,0 +1 @@ +.testo { diff --git a/tests/indent/css/next_rule.css b/tests/indent/css/next_rule.css new file mode 100644 index 000000000..ae18f1bd7 --- /dev/null +++ b/tests/indent/css/next_rule.css @@ -0,0 +1,3 @@ +.testo { + color: green; +} -- cgit v1.2.3-70-g09d2