Skip to content

Commit 15dda72

Browse files
committed
Better testcases
1 parent bd61941 commit 15dda72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Dates/test/periods.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ end
480480
@testset "Hashing for CompoundPeriod (#37447)" begin
481481
periods = [Dates.Year(0), Dates.Minute(0), Dates.Second(0), Dates.CompoundPeriod(),
482482
Dates.Minute(2), Dates.Second(120), Dates.CompoundPeriod(Dates.Minute(2)),
483-
Dates.CompoundPeriod(Dates.Second(120)), Dates.CompoundPeriod(Dates.Minute(1), Dates.Second(30))]
483+
Dates.CompoundPeriod(Dates.Second(120)), Dates.CompoundPeriod(Dates.Minute(1), Dates.Second(60))]
484484
for x = periods, y = periods
485485
@test isequal(x,y) == (hash(x) == hash(y))
486486
end

0 commit comments

Comments
 (0)