Permalink
Browse files

Choose a less ambiguous test case for additional date format matching

  • Loading branch information...
1 parent f78beb0 commit a864e5b5a6b7b55e52acc53e93b2969ecf0a805f Cameron Dutro committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/tokenizers/calendars/additional_date_format_selector_spec.rb
@@ -98,7 +98,7 @@
it "returns the next closest match (lowest score) if an exact match can't be found" do
selector.find_closest("MMMMd").should == "MMMd"
selector.find_closest("mHs").should == "Hms"
- selector.find_closest("Ehd").should == "Ehm"
+ selector.find_closest("Med").should == "MEd"
end
it "returns nil if an empty pattern is given" do

0 comments on commit a864e5b

Please sign in to comment.