File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
core/src/test/scala/org/apache/spark
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ private[spark] abstract class SparkFunSuite extends FunSuite with Logging {
3030 * Log the suite name and the test name before and after each test.
3131 *
3232 * Subclasses should never override this method. If they wish to run
33- * custom code before and after each test, they should should mix in
34- * the {{org.scalatest.BeforeAndAfter}} trait instead.
33+ * custom code before and after each test, they should mix in the
34+ * {{org.scalatest.BeforeAndAfter}} trait instead.
3535 */
3636 final protected override def withFixture (test : NoArgTest ): Outcome = {
3737 val testName = test.text
Original file line number Diff line number Diff line change 1717
1818package org .apache .spark .sql .catalyst .expressions
1919
20+ import org .apache .spark .SparkFunSuite
2021import org .apache .spark .sql .AnalysisException
2122import org .apache .spark .sql .catalyst .analysis .SimpleAnalyzer
2223import org .apache .spark .sql .catalyst .dsl .expressions ._
2324import org .apache .spark .sql .catalyst .dsl .plans ._
2425import org .apache .spark .sql .catalyst .plans .logical .LocalRelation
2526import org .apache .spark .sql .types .StringType
2627
27- import org .scalatest .FunSuite
28-
29-
30- class ExpressionTypeCheckingSuite extends FunSuite {
28+ class ExpressionTypeCheckingSuite extends SparkFunSuite {
3129
3230 val testRelation = LocalRelation (
3331 ' intField .int,
You can’t perform that action at this time.
0 commit comments