We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent facc682 commit e8ed8ddCopy full SHA for e8ed8dd
spark/src/test/java/org/apache/zeppelin/spark/SparkRInterpreterTest.java
@@ -46,7 +46,7 @@ public class SparkRInterpreterTest {
46
private static final Logger LOGGER = LoggerFactory.getLogger(SparkRInterpreterTest.class);
47
48
private static final String MOCK_RSCALA_RESULT = "<body> Mock R Result </body>";
49
- 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"
50
.replaceAll("<code>", "").replaceAll("</code>", "")
51
.replaceAll("\n\n", "")
52
.replaceAll("\n", "<br>")
0 commit comments