Skip to content

Commit

Permalink
Remove unrelated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zeotuan committed Aug 7, 2024
1 parent 11ee26d commit 619257a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.github.mrpowers.spark.fast.tests

import org.apache.spark.sql.types.{IntegerType, StringType}
import SparkSessionExt._
import com.github.mrpowers.spark.fast.tests.SchemaComparer.DatasetSchemaMismatch
import org.scalatest.freespec.AnyFreeSpec

class DataFrameComparerTest extends AnyFreeSpec with DataFrameComparer with SparkSessionTestWrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.github.mrpowers.spark.fast.tests

import org.apache.spark.sql.types._
import SparkSessionExt._
import com.github.mrpowers.spark.fast.tests.SchemaComparer.DatasetSchemaMismatch
import org.scalatest.freespec.AnyFreeSpec

object Person {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,21 +125,5 @@ class SchemaComparerTest extends AnyFreeSpec {
)
assert(SchemaComparer.equals(s1, s2, ignoreColumnNames = true))
}

"can ignore the column order when determining equality" in {
val s1 = StructType(
Seq(
StructField("these", StringType, true),
StructField("are", StringType, true)
)
)
val s2 = StructType(
Seq(
StructField("are", StringType, true),
StructField("these", StringType, true)
)
)
assert(SchemaComparer.equals(s1, s2))
}
}
}

0 comments on commit 619257a

Please sign in to comment.