mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-14 20:35:47 +01:00
Add extra unit test for zipcodeUS method, based on GH comment
This commit is contained in:
@@ -992,6 +992,7 @@ test("zipcodeUS", function() {
|
|||||||
ok(!method( "1234" ), "Invalid zip" );
|
ok(!method( "1234" ), "Invalid zip" );
|
||||||
ok(!method( "123-23" ), "Invalid zip" );
|
ok(!method( "123-23" ), "Invalid zip" );
|
||||||
ok(!method( "12345-43" ), "Invalid zip" );
|
ok(!method( "12345-43" ), "Invalid zip" );
|
||||||
|
ok(!method( "123456-7890" ), "Invalid zip" );
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|||||||
Reference in New Issue
Block a user