Permalink
Browse files

Adding test case for 'h' in additional date format selector to test f…

…or exact matches
  • Loading branch information...
1 parent cef2632 commit da4a42d33bff93ff1fb06139474971072e93a6ea Cameron Dutro committed Feb 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/tokenizers/calendars/additional_date_format_selector_spec.rb
@@ -90,6 +90,7 @@
describe "#find_closest" do
it "returns an exact match if it exists" do
+ selector.find_closest("h").should == "h"
selector.find_closest("MMMd").should == "MMMd"
selector.find_closest("Hms").should == "Hms"
selector.find_closest("yQQQQ").should == "yQQQQ"

0 comments on commit da4a42d

Please sign in to comment.