Minor: Add new lines to make failure message more readable
This commit is contained in:
@@ -336,9 +336,12 @@ public abstract class AbstractQuickFixMultiFileTest extends KotlinDaemonAnalyzer
|
|||||||
List<String> texts = getActionsTexts(availableActions);
|
List<String> texts = getActionsTexts(availableActions);
|
||||||
Collection<HighlightInfo> infos = doHighlighting();
|
Collection<HighlightInfo> infos = doHighlighting();
|
||||||
fail("Action with text '" + text + "' is not available in test " + testFilePath + "\n" +
|
fail("Action with text '" + text + "' is not available in test " + testFilePath + "\n" +
|
||||||
"Available actions (" + texts.size() + "): " + texts + "\n" +
|
"Available actions (" + texts.size() + "): \n" +
|
||||||
availableActions + "\n" +
|
StringUtil.join(texts, "\n") +
|
||||||
"Infos:" + infos);
|
"\nActions:\n" +
|
||||||
|
StringUtil.join(availableActions, "\n") +
|
||||||
|
"\nInfos:\n" +
|
||||||
|
StringUtil.join(infos, "\n"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
DirectiveBasedActionUtils.INSTANCE.checkAvailableActionsAreExpected(getFile(), availableActions);
|
DirectiveBasedActionUtils.INSTANCE.checkAvailableActionsAreExpected(getFile(), availableActions);
|
||||||
|
|||||||
Reference in New Issue
Block a user