From 77b3cf7f29f46876adceea8e27208e7b93052872 Mon Sep 17 00:00:00 2001 From: Dennis Ushakov Date: Mon, 22 May 2023 17:32:48 +0200 Subject: [PATCH] [fleet] check closing tag presence in error sibling (FL-19558) GitOrigin-RevId: f4d318243e21ab7820fab55f258f9bc658189f98 --- .../intellij/codeInsight/defaultAction/XmlGreaterTest.java | 4 ++++ xml/tests/testData/codeInsight/defaultAction/greater/7.html | 3 +++ .../testData/codeInsight/defaultAction/greater/7_after.html | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 xml/tests/testData/codeInsight/defaultAction/greater/7.html create mode 100644 xml/tests/testData/codeInsight/defaultAction/greater/7_after.html diff --git a/xml/tests/src/com/intellij/codeInsight/defaultAction/XmlGreaterTest.java b/xml/tests/src/com/intellij/codeInsight/defaultAction/XmlGreaterTest.java index caabae83ae17..d1bdcde7f5dd 100644 --- a/xml/tests/src/com/intellij/codeInsight/defaultAction/XmlGreaterTest.java +++ b/xml/tests/src/com/intellij/codeInsight/defaultAction/XmlGreaterTest.java @@ -36,6 +36,10 @@ public class XmlGreaterTest extends DefaultActionTestCase { configureByFile(path + "6.html"); performAction('>'); checkResultByFile(path + "6_after.html"); + + configureByFile(path + "7.html"); + performAction('>'); + checkResultByFile(path + "7_after.html"); } public void testXHtmlGreater() { diff --git a/xml/tests/testData/codeInsight/defaultAction/greater/7.html b/xml/tests/testData/codeInsight/defaultAction/greater/7.html new file mode 100644 index 000000000000..43a29a16225a --- /dev/null +++ b/xml/tests/testData/codeInsight/defaultAction/greater/7.html @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file diff --git a/xml/tests/testData/codeInsight/defaultAction/greater/7_after.html b/xml/tests/testData/codeInsight/defaultAction/greater/7_after.html new file mode 100644 index 000000000000..753fe951ea04 --- /dev/null +++ b/xml/tests/testData/codeInsight/defaultAction/greater/7_after.html @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file