mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Fix the expected html value for test
This commit is contained in:
parent
facc682927
commit
e8ed8dddf7
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ public class SparkRInterpreterTest {
|
|||
private static final Logger LOGGER = LoggerFactory.getLogger(SparkRInterpreterTest.class);
|
||||
|
||||
private static final String MOCK_RSCALA_RESULT = "<body> Mock R Result </body>";
|
||||
private static final String MOCK_R_INTERPRETER_RESULT = MOCK_RSCALA_RESULT.substring(MOCK_RSCALA_RESULT.indexOf("<body>") + 7, MOCK_RSCALA_RESULT.indexOf("</body>") - 1)
|
||||
private static final String MOCK_R_INTERPRETER_RESULT = "Mock R Result"
|
||||
.replaceAll("<code>", "").replaceAll("</code>", "")
|
||||
.replaceAll("\n\n", "")
|
||||
.replaceAll("\n", "<br>")
|
||||
|
|
|
|||
Loading…
Reference in a new issue