From b51e86f55804bc5df5a82401270fadebb6314560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Mon, 20 May 2013 15:53:31 +0200 Subject: [PATCH] Add extra unit test for zipcodeUS method, based on GH comment --- test/methods.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/methods.js b/test/methods.js index 22d6221..3a56b36 100644 --- a/test/methods.js +++ b/test/methods.js @@ -992,6 +992,7 @@ test("zipcodeUS", function() { ok(!method( "1234" ), "Invalid zip" ); ok(!method( "123-23" ), "Invalid zip" ); ok(!method( "12345-43" ), "Invalid zip" ); + ok(!method( "123456-7890" ), "Invalid zip" ); }); })(jQuery);