Skip to content

Commit

Permalink
add multiline tip
Browse files Browse the repository at this point in the history
  • Loading branch information
arksap2002 committed Sep 11, 2023
1 parent e371268 commit 1473083
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ class TestsExecutionResultService(private val project: Project) {
* @param testName the name of the passing test to add
* @param testError the error
*/
fun addFailedTest(testName: String, testError: String) { testErrors[testName] = testError.replace("===", "").trimEnd() }
fun addFailedTest(testName: String, testError: String) {
testErrors[testName] = "<html>${testError.replace("===", "").replace("\t", "<br/>").trimEnd()}</html>"
}

/**
* Checks if a test case with the given name is failing.
Expand Down

0 comments on commit 1473083

Please sign in to comment.