From a475339380f6e7d9f896880a07157255dcac785a Mon Sep 17 00:00:00 2001 From: kolen Date: Thu, 15 Feb 2024 01:01:42 +0300 Subject: [PATCH] Combine tests - nesting --- test/corpus/element_nesting_2.txt | 15 --------- .../element_nesting_with_empty_lines.txt | 16 --------- .../{element_nesting.txt => nesting.txt} | 33 +++++++++++++++++++ 3 files changed, 33 insertions(+), 31 deletions(-) delete mode 100644 test/corpus/element_nesting_2.txt delete mode 100644 test/corpus/element_nesting_with_empty_lines.txt rename test/corpus/{element_nesting.txt => nesting.txt} (55%) diff --git a/test/corpus/element_nesting_2.txt b/test/corpus/element_nesting_2.txt deleted file mode 100644 index ff6a2e8..0000000 --- a/test/corpus/element_nesting_2.txt +++ /dev/null @@ -1,15 +0,0 @@ -=================== -Element nesting (2) -=================== - -span - span - ---- - -(source_file - (element - (tag_name) - (nested - (element - (tag_name))))) diff --git a/test/corpus/element_nesting_with_empty_lines.txt b/test/corpus/element_nesting_with_empty_lines.txt deleted file mode 100644 index 752eb47..0000000 --- a/test/corpus/element_nesting_with_empty_lines.txt +++ /dev/null @@ -1,16 +0,0 @@ -================================ -Element nesting with empty lines -================================ - -p - - b - ---- - -(source_file - (element - (tag_name) - (nested - (element - (tag_name))))) diff --git a/test/corpus/element_nesting.txt b/test/corpus/nesting.txt similarity index 55% rename from test/corpus/element_nesting.txt rename to test/corpus/nesting.txt index ac6e87b..8846e54 100644 --- a/test/corpus/element_nesting.txt +++ b/test/corpus/nesting.txt @@ -19,3 +19,36 @@ Element nesting attr_shortcuts: (attr_shortcuts (shortcut_class (css_identifier)))))) (element attr_shortcuts: (attr_shortcuts (shortcut_class (css_identifier))))) + +=================== +Element nesting (2) +=================== + +span + span + +--- + +(source_file + (element + (tag_name) + (nested + (element + (tag_name))))) + +================================ +Element nesting with empty lines +================================ + +p + + b + +--- + +(source_file + (element + (tag_name) + (nested + (element + (tag_name)))))