Skip to content

Commit 41f6cfa

Browse files
committed
Use === in asserts
1 parent 99d6590 commit 41f6cfa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/DataSourceSuite.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class DataSourceSuite extends SharedSparkSession {
3939
checkFilesExist = true
4040
)
4141

42-
assert(resultPaths.toSet == allPathsInFs.toSet)
42+
assert(resultPaths.toSet === allPathsInFs.toSet)
4343
}
4444

4545
test("test glob paths") {
@@ -54,7 +54,7 @@ class DataSourceSuite extends SharedSparkSession {
5454
)
5555

5656
assert(
57-
resultPaths.toSet == Set(
57+
resultPaths.toSet === Set(
5858
globPath1Result1,
5959
globPath1Result2,
6060
globPath2Result1,
@@ -75,7 +75,7 @@ class DataSourceSuite extends SharedSparkSession {
7575
)
7676

7777
assert(
78-
resultPaths.toSet == Set(
78+
resultPaths.toSet === Set(
7979
path1,
8080
path2
8181
)

0 commit comments

Comments
 (0)