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

commit 39ca083df40e2dad795607e428da8d0ca13bf269
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Thu Jul 28 09:34:58 2022 -0400

    Add an assert test
---
 src/test/java/org/apache/commons/io/function/IOSupplierTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/java/org/apache/commons/io/function/IOSupplierTest.java 
b/src/test/java/org/apache/commons/io/function/IOSupplierTest.java
index d3c91f24..e21125a2 100644
--- a/src/test/java/org/apache/commons/io/function/IOSupplierTest.java
+++ b/src/test/java/org/apache/commons/io/function/IOSupplierTest.java
@@ -18,6 +18,7 @@
 package org.apache.commons.io.function;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotEquals;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
 import java.io.IOException;
@@ -52,6 +53,7 @@ public class IOSupplierTest {
         assertThrows(UncheckedIOException.class, () -> 
TestConstants.THROWING_IO_SUPPLIER.asSupplier().get());
         assertEquals("new1", getThrowsNone(() -> 
TestUtils.compareAndSetThrows(ref1, "new1")));
         assertEquals("new1", ref1.get());
+        assertNotEquals(TestConstants.THROWING_IO_SUPPLIER.asSupplier(), 
TestConstants.THROWING_IO_SUPPLIER.asSupplier());
     }
 
     @Test

Reply via email to