diff --git a/platform/testFramework/src/com/intellij/testFramework/ExpectedHighlightingData.java b/platform/testFramework/src/com/intellij/testFramework/ExpectedHighlightingData.java
index 0efe6e8f42c2..616950b825f3 100644
--- a/platform/testFramework/src/com/intellij/testFramework/ExpectedHighlightingData.java
+++ b/platform/testFramework/src/com/intellij/testFramework/ExpectedHighlightingData.java
@@ -278,7 +278,6 @@ public class ExpectedHighlightingData {
}
if (descr != null) {
descr = descr.replaceAll("\\\\\\\\\"", "\""); // replace: \\" to ", doesn't check symbol before sequence \\"
- descr = StringUtil.replace(descr, """, "\"");
}
HighlightInfoType type = WHATEVER;
@@ -564,7 +563,7 @@ public class ExpectedHighlightingData {
endPos = result.second;
}
sb.insert(0, text.substring(info.startOffset, endPos));
- sb.insert(0, "<" + severity + " descr=\"" + StringUtil.replace(info.getDescription(), "\"", """) + "\">");
+ sb.insert(0, "<" + severity + " descr=\"" + info.getDescription() + "\">");
endPos = info.startOffset;
i++;
diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/style/simplifiable_annotation/SimplifiableAnnotation.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/style/simplifiable_annotation/SimplifiableAnnotation.java
index 95d4e38f017e..b40289507a08 100644
--- a/plugins/InspectionGadgets/test/com/siyeh/igtest/style/simplifiable_annotation/SimplifiableAnnotation.java
+++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/style/simplifiable_annotation/SimplifiableAnnotation.java
@@ -2,7 +2,7 @@ package com.siyeh.igtest.style.simplifiable_annotation;
public class SimplifiableAnnotation {
- @ SuppressWarnings(value = "blabla")
+ @ SuppressWarnings(value = "blabla")
@ Deprecated()
Object foo() {
return null;
@@ -14,8 +14,8 @@ public class SimplifiableAnnotation {
@interface ArrayAnnotation {
String[] array();
}
-@ValueAnnotation({"the value"})
-@ArrayAnnotation(array = {"first"})
+@ValueAnnotation({"the value"})
+@ArrayAnnotation(array = {"first"})
class MyClass {
@ ValueAnnotation