Skip to content

Commit

Permalink
Improve test names for inspect/1 with calendar data types
Browse files Browse the repository at this point in the history
  • Loading branch information
lexmag committed Feb 10, 2018
1 parent adf2f7f commit ff55943
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/elixir/test/elixir/calendar_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule DateTest do
assert to_string(date) == "boom"
end

test "inspect/1" do
test "Kernel.inspect/1" do
assert inspect(~D[2000-01-01]) == "~D[2000-01-01]"

date = %{~D[2000-01-01] | calendar: FakeCalendar}
Expand Down Expand Up @@ -98,7 +98,7 @@ defmodule TimeTest do
assert to_string(~T[23:00:07.005]) == "23:00:07.005"
end

test "inspect/1" do
test "Kernel.inspect/1" do
assert inspect(~T[23:00:07.005]) == "~T[23:00:07.005]"
end

Expand Down Expand Up @@ -143,7 +143,7 @@ defmodule NaiveDateTimeTest do
assert to_string(ndt) == "boom"
end

test "inspect/1" do
test "Kernel.inspect/1" do
assert inspect(~N[2000-01-01 23:00:07.005]) == "~N[2000-01-01 23:00:07.005]"

ndt = %{~N[2000-01-01 23:00:07.005] | calendar: FakeCalendar}
Expand Down

0 comments on commit ff55943

Please sign in to comment.