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

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


The following commit(s) were added to refs/heads/sebb-mac-test by this push:
     new fd8849b  Another writer
fd8849b is described below

commit fd8849bb23ba0ca5fee70c302056bfe63946fa1a
Author: Sebb <s...@apache.org>
AuthorDate: Sun Jun 26 23:10:03 2022 +0100

    Another writer
---
 src/test/java/org/apache/commons/crypto/NativeCodeLoaderTest.java | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/test/java/org/apache/commons/crypto/NativeCodeLoaderTest.java 
b/src/test/java/org/apache/commons/crypto/NativeCodeLoaderTest.java
index c861968..ee4d84a 100644
--- a/src/test/java/org/apache/commons/crypto/NativeCodeLoaderTest.java
+++ b/src/test/java/org/apache/commons/crypto/NativeCodeLoaderTest.java
@@ -33,13 +33,7 @@ public class NativeCodeLoaderTest {
 
     @Test
     public void test() {
-        if (NativeCodeLoader.isNativeCodeLoaded()) {
-            // TODO display versions once available
-            System.out.println("** INFO: Native (JNI) code loaded 
successfully");
-        } else {
-            System.out.println("** WARN: Native (JNI) code was not loaded: "
-                + NativeCodeLoader.getLoadingError());
-        }
+        assertTrue(NativeCodeLoader.isNativeCodeLoaded(), "Native (JNI) code 
loaded successfully");
     }
 
     @Test

Reply via email to