Skip to content

Commit 2be5277

Browse files
committed
fix test
1 parent 256e177 commit 2be5277

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sql/core/src/test/scala/org/apache/spark/sql/test/DataFrameReaderWriterSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ class DataFrameReaderWriterSuite extends QueryTest with SharedSQLContext with Be
428428
val message = intercept[AnalysisException] {
429429
testRead(spark.read.csv(), Seq.empty, schema)
430430
}.getMessage
431-
assert(message.contains("Unable to infer schema for CSV. It must be specified manually."))
431+
assert(message.toLowerCase(Locale.ROOT).contains("unable to infer schema for csv"))
432432

433433
testRead(spark.read.csv(dir), data, schema)
434434
testRead(spark.read.csv(dir, dir), data ++ data, schema)

0 commit comments

Comments
 (0)