Skip to content

Commit eee40b8

Browse files
committed
Remove duplicated tests mistakenly added
1 parent 1058007 commit eee40b8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,6 @@ class DateExpressionsSuite extends SparkFunSuite with ExpressionEvalHelper {
418418
Seq("month", "MONTH", "mon", "MON", "mm", "MM").foreach { fmt =>
419419
testTrunc(date, fmt, Date.valueOf("2015-07-01"))
420420
}
421-
Seq("yyyy", "YYYY", "year", "YEAR", "yy", "YY").foreach { fmt =>
422-
testTrunc(date, fmt, Date.valueOf("2015-01-01"))
423-
}
424-
Seq("month", "MONTH", "mon", "MON", "mm", "MM").foreach { fmt =>
425-
testTrunc(date, fmt, Date.valueOf("2015-07-01"))
426-
}
427421

428422
testTrunc(date, null, null)
429423
testTrunc(null, "MON", null)

0 commit comments

Comments
 (0)