We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a0fb0c commit 86650a6Copy full SHA for 86650a6
lib/elixir/test/elixir/calendar/time_test.exs
@@ -77,6 +77,11 @@ defmodule TimeTest do
77
assert Time.compare(time1, time2) == :eq
78
assert Time.compare(time1, time3) == :lt
79
assert Time.compare(time3, time2) == :gt
80
+
81
+ time1_holocene = ~T[01:01:01.005 Calendar.Holocene]
82
+ assert Time.compare(time1_holocene, time1) == :eq
83
+ assert Time.compare(time1_holocene, time2) == :eq
84
+ assert Time.compare(time1_holocene, time3) == :lt
85
end
86
87
test "before?/2 and after?/2" do
0 commit comments