You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2024/12/20 12:31:08 UTC

(commons-validator) branch master updated: Test the original IBAN examples

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git


The following commit(s) were added to refs/heads/master by this push:
     new 29993fba Test the original IBAN examples
29993fba is described below

commit 29993fbae37ccb1c519f3a9f7dfbdfb20c4a6394
Author: Sebb <se...@apache.org>
AuthorDate: Fri Dec 20 12:30:58 2024 +0000

    Test the original IBAN examples
---
 .../org/apache/commons/validator/routines/IBANValidatorTest.java    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java b/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java
index 4f0bcbbb..a8fd59ff 100644
--- a/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java
+++ b/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java
@@ -375,6 +375,12 @@ public class IBANValidatorTest {
         assertFalse(VALIDATOR.isValid(invalidIban), invalidIban);
     }
 
+    @ParameterizedTest
+    @FieldSource("VALID_IBAN_FIXTURES")
+    public void testMoreValid(final String invalidIban) {
+        assertTrue(VALIDATOR.isValid(invalidIban), invalidIban);
+    }
+
     @Test
     public void testNull() {
         assertFalse(VALIDATOR.isValid(null), "isValid(null)");