From e5c6c85541efb99cbab2a64a9974ce3970feed93 Mon Sep 17 00:00:00 2001 From: Tengfei Huang Date: Fri, 30 Aug 2024 17:10:02 +0800 Subject: [PATCH] fix code style --- .../src/test/scala/org/apache/spark/sql/TestUtils.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gluten-substrait/src/test/scala/org/apache/spark/sql/TestUtils.scala b/gluten-substrait/src/test/scala/org/apache/spark/sql/TestUtils.scala index 1ed939d6df81..c87f59466360 100644 --- a/gluten-substrait/src/test/scala/org/apache/spark/sql/TestUtils.scala +++ b/gluten-substrait/src/test/scala/org/apache/spark/sql/TestUtils.scala @@ -18,10 +18,10 @@ package org.apache.spark.sql import org.apache.gluten.exception.GlutenException +import org.apache.spark.{TestUtils => SparkTestUtils} import org.apache.spark.SparkContext import org.apache.spark.scheduler.SparkListener import org.apache.spark.sql.test.SQLTestUtils -import org.apache.spark.{TestUtils => SparkTestUtils} object TestUtils { def compareAnswers(actual: Seq[Row], expected: Seq[Row], sort: Boolean = false): Unit = { @@ -31,7 +31,7 @@ object TestUtils { } } - def withListener[L <: SparkListener](sc: SparkContext, listener: L) (body: L => Unit): Unit = { + def withListener[L <: SparkListener](sc: SparkContext, listener: L)(body: L => Unit): Unit = { SparkTestUtils.withListener(sc, listener)(body) } }