mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
TestFramework: do not generate descr="null" for <highlight>
GitOrigin-RevId: 762bf12c836d116fbbf02a868373defe6db96c60
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9e9cbbb1cb
commit
28c0fa66b8
@@ -680,14 +680,14 @@ public class ExpectedHighlightingData {
|
||||
}
|
||||
sb.insert(0, text.substring(info.startOffset, endPos));
|
||||
|
||||
String str = '<' + severity + " ";
|
||||
String str = '<' + severity;
|
||||
|
||||
String bundleMsg = composeBundleMsg(info, messageBundles);
|
||||
if (bundleMsg != null) {
|
||||
str += "bundleMsg=\"" + StringUtil.escapeQuotes(bundleMsg) + '"';
|
||||
str += " bundleMsg=\"" + StringUtil.escapeQuotes(bundleMsg) + '"';
|
||||
}
|
||||
else {
|
||||
str += "descr=\"" + StringUtil.escapeQuotes(String.valueOf(info.getDescription())) + '"';
|
||||
else if (info.getSeverity() != HighlightInfoType.HIGHLIGHTED_REFERENCE_SEVERITY) {
|
||||
str += " descr=\"" + StringUtil.escapeQuotes(String.valueOf(info.getDescription())) + '"';
|
||||
}
|
||||
if (showAttributesKeys) {
|
||||
str += " textAttributesKey=\"" + info.forcedTextAttributesKey + '"';
|
||||
|
||||
Reference in New Issue
Block a user