Skip to content

Commit b9e2409

Browse files
committed
[SPARK-23935][SQL] Fixing a Scala style problem in tests
1 parent 086e223 commit b9e2409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CollectionExpressionsSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ class CollectionExpressionsSuite extends SparkFunSuite with ExpressionEvalHelper
7070
checkEvaluation(MapEntries(mi2), null)
7171

7272
// Non-primitive-type keys/values
73-
val ms0 = Literal.create(Map("a" -> "a", "b" -> null, "c" -> "b"), MapType(StringType, StringType))
73+
val ms0 = Literal.create(Map("a" -> "c", "b" -> null), MapType(StringType, StringType))
7474
val ms1 = Literal.create(Map[Int, Int](), MapType(StringType, StringType))
7575
val ms2 = Literal.create(null, MapType(StringType, StringType))
7676

77-
checkEvaluation(MapEntries(ms0), Seq(r("a", "a"), r("b", null), r("c", "b")))
77+
checkEvaluation(MapEntries(ms0), Seq(r("a", "c"), r("b", null)))
7878
checkEvaluation(MapEntries(ms1), Seq.empty)
7979
checkEvaluation(MapEntries(ms2), null)
8080
}

0 commit comments

Comments
 (0)