aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-01-23 14:33:02 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-01-23 14:33:02 +0100
commit311e88bd72c67d40789d542e8a03218875443791 (patch)
tree11d411594f27ffd7d2e58ebd7627d471a63b15b7
parent9ecb661af9dedfd14ddacc6fd66839f8edf159f5 (diff)
downloadpostcodes-norway-311e88bd72c67d40789d542e8a03218875443791.tar.gz
postcodes-norway-311e88bd72c67d40789d542e8a03218875443791.tar.bz2
postcodes-norway-311e88bd72c67d40789d542e8a03218875443791.zip
Fix end edge in unit tests.
-rw-r--r--test/test_postcodes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_postcodes.rb b/test/test_postcodes.rb
index 1c4f368..e3f2080 100644
--- a/test/test_postcodes.rb
+++ b/test/test_postcodes.rb
@@ -50,6 +50,6 @@ describe 'PostCodes::county' do
it "must fail on invalid county codes" do
PostCodes.county(0).must_equal nil
- PostCodes.county(25).must_equal nil
+ PostCodes.county(24).must_equal nil
end
-end \ No newline at end of file
+end