You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/01/16 16:53:48 UTC

[commons-validator] branch master updated: Fail faster in test

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

ggregory 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 6041a3c5 Fail faster in test
6041a3c5 is described below

commit 6041a3c52839c80a8bfb104c03ad2c8695a1c294
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jan 16 11:53:44 2023 -0500

    Fail faster in test
---
 .../java/org/apache/commons/validator/routines/IBANValidatorTest.java | 4 ++++
 1 file changed, 4 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 3ac536cc..062ed69f 100644
--- a/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java
+++ b/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java
@@ -77,6 +77,10 @@ public class IBANValidatorTest {
                     length = o;
                 }
             }
+            assertNotNull(country);
+            assertNotNull(length);
+            assertNotNull(structure);
+            assertNotNull(cc);
             for (int i = 1; i < country.size(); i++) {
                 try {