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/08/31 13:20:20 UTC

[commons-codec] branch master updated: Test throws AssertionError instead of Error

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-codec.git


The following commit(s) were added to refs/heads/master by this push:
     new 88936ac4 Test throws AssertionError instead of Error
88936ac4 is described below

commit 88936ac4e617881dcc6cba3fb2abd73dbd89d3b5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Aug 31 09:20:16 2023 -0400

    Test throws AssertionError instead of Error
---
 src/test/java/org/apache/commons/codec/binary/Base32Test.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/codec/binary/Base32Test.java b/src/test/java/org/apache/commons/codec/binary/Base32Test.java
index 23009f0f..b752a20c 100644
--- a/src/test/java/org/apache/commons/codec/binary/Base32Test.java
+++ b/src/test/java/org/apache/commons/codec/binary/Base32Test.java
@@ -105,7 +105,7 @@ public class Base32Test {
                                    "OOOOIIII" }
             };
         } catch (final DecoderException de) {
-            throw new Error(":(", de);
+            throw new AssertionError(":(", de);
         }
     }
     private static final String [][] BASE32HEX_TEST_CASES = { // RFC 4648