Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoson committed Aug 30, 2024
1 parent a3388f6 commit e5c6c85
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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)
}
}

0 comments on commit e5c6c85

Please sign in to comment.