File tree Expand file tree Collapse file tree
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ class CollectionExpressionsSuite extends SparkFunSuite with ExpressionEvalHelper
262262 map.checkInputDataTypes() match {
263263 case TypeCheckResult .TypeCheckSuccess => fail(" should not allow map as map key" )
264264 case TypeCheckResult .TypeCheckFailure (msg) =>
265- assert(msg.contains(" The key of map cannot be/contains map" ))
265+ assert(msg.contains(" The key of map cannot be/contain map" ))
266266 }
267267 }
268268
@@ -326,7 +326,7 @@ class CollectionExpressionsSuite extends SparkFunSuite with ExpressionEvalHelper
326326 map.checkInputDataTypes() match {
327327 case TypeCheckResult .TypeCheckSuccess => fail(" should not allow map as map key" )
328328 case TypeCheckResult .TypeCheckFailure (msg) =>
329- assert(msg.contains(" The key of map cannot be/contains map" ))
329+ assert(msg.contains(" The key of map cannot be/contain map" ))
330330 }
331331 }
332332
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ class ComplexTypeSuite extends SparkFunSuite with ExpressionEvalHelper {
204204 map2.checkInputDataTypes() match {
205205 case TypeCheckResult .TypeCheckSuccess => fail(" should not allow map as map key" )
206206 case TypeCheckResult .TypeCheckFailure (msg) =>
207- assert(msg.contains(" The key of map cannot be/contains map" ))
207+ assert(msg.contains(" The key of map cannot be/contain map" ))
208208 }
209209 }
210210
@@ -252,7 +252,7 @@ class ComplexTypeSuite extends SparkFunSuite with ExpressionEvalHelper {
252252 map.checkInputDataTypes() match {
253253 case TypeCheckResult .TypeCheckSuccess => fail(" should not allow map as map key" )
254254 case TypeCheckResult .TypeCheckFailure (msg) =>
255- assert(msg.contains(" The key of map cannot be/contains map" ))
255+ assert(msg.contains(" The key of map cannot be/contain map" ))
256256 }
257257 }
258258
Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ class HigherOrderFunctionsSuite extends SparkFunSuite with ExpressionEvalHelper
384384 map.checkInputDataTypes() match {
385385 case TypeCheckResult .TypeCheckSuccess => fail(" should not allow map as map key" )
386386 case TypeCheckResult .TypeCheckFailure (msg) =>
387- assert(msg.contains(" The key of map cannot be/contains map" ))
387+ assert(msg.contains(" The key of map cannot be/contain map" ))
388388 }
389389 }
390390
You can’t perform that action at this time.
0 commit comments