Permalink
Browse files

Merge remote-tracking branch 'gnonthgol/master'

  • Loading branch information...
zerebubuth committed May 9, 2012
2 parents 9ea536b + c5ff512 commit f8531b3ff74f56ebdb622e74a236340f21944389
Showing with 2 additions and 0 deletions.
  1. +1 −0 abbreviations.rb
  2. +1 −0 test_abbrev.rb
View
@@ -7,6 +7,7 @@ module Abbrev
# this might be too country-specific, but it's a start.
ABBREVIATIONS = {
"alley" => ["aly"],
+ "and" => ["&"],
"annex" => ["anx"],
"arcade" => ["arc"],
"avenue" => ["ave"],
View
@@ -22,6 +22,7 @@ def test_abbrev_english
check_abbrev_equality("NE Foobar Crescent", "North East Foobar Cr.")
check_abbrev_equality("N.E. Foobar Crescent", "North East Foobar Cr")
check_abbrev_equality("NE Foobar Crescent", "Northeast Foobar Cr")
+ check_abbrev_equality("North & Western", "North and Western")
end
def test_abbrev_russian

0 comments on commit f8531b3

Please sign in to comment.