File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
core/src/test/scala/org/apache/spark/status/api/v1 Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,13 @@ package org.apache.spark.status.api.v1
1818
1919import org .scalatest .{Matchers , FunSuite }
2020
21- class SimpleDateParamTest extends FunSuite with Matchers {
21+ class SimpleDateParamSuite extends FunSuite with Matchers {
2222
2323 test(" date parsing" ) {
2424 new SimpleDateParam (" 2015-02-20T23:21:17.190GMT" ).timestamp should be (1424474477190L )
25- new SimpleDateParam (" 2015-02-20T17:21:17.190CST" ).timestamp should be (1424474477190L )
26- new SimpleDateParam (" 2015-02-20" ).timestamp should be (1424390400000L ) // GMT
25+ new SimpleDateParam (" 2015-02-20T17:21:17.190EST" ).timestamp should be (1424470877190L )
26+ new SimpleDateParam (" 2015-02-20GMT" ).timestamp should be (1424390400000L )
27+ new SimpleDateParam (" 2015-02-20EST" ).timestamp should be (1424390400000L )
2728 }
2829
2930}
You can’t perform that action at this time.
0 commit comments