Skip to content

Commit

Permalink
Improve test description
Browse files Browse the repository at this point in the history
  • Loading branch information
treagod committed Nov 19, 2024
1 parent bbad98f commit 5795e65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/marten/template/tag/localize_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe Marten::Template::Tag::Localize do
context["localized_date"].to_s.should eq fixed_date_time_default_format
end

it "raises if a invalid date tuple is provided" do
it "raises if a invalid date (too many fields) tuple is provided" do
parser = Marten::Template::Parser.new("")
tag = Marten::Template::Tag::Localize.new(parser, %{localize unsupported_date})

Expand All @@ -103,7 +103,7 @@ describe Marten::Template::Tag::Localize do
end
end

it "raises if a invalid date tuple is provided" do
it "raises if a invalid date (types) tuple is provided" do
parser = Marten::Template::Parser.new("")
tag = Marten::Template::Tag::Localize.new(parser, %{localize unsupported_date})

Expand Down

0 comments on commit 5795e65

Please sign in to comment.