Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/19791#discussion_r152464410
--- Diff: repl/src/test/scala/org/apache/spark/repl/ReplSuite.scala ---
@@ -217,4 +218,13 @@ class ReplSuite extends SparkFunSuite {
assertDoesNotContain("error:", output)
assertDoesNotContain("Exception", output)
}
+
+ test(":replay should work correctly") {
+ runInterpreter("local",
+ """
+ |sc
+ |:replay
+ """.stripMargin) should not include "error: not found: value sc"
--- End diff --
Could we just use assert... instead?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]