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


The following commit(s) were added to refs/heads/master by this push:
     new f2959929 Use assertEquals() before assertSame() to test GitHub CI 
failure on assertSame()
f2959929 is described below

commit f2959929f282c09884dba491046ef2088bc312de
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Aug 29 09:09:49 2024 -0400

    Use assertEquals() before assertSame() to test GitHub CI failure on
    assertSame()
---
 commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java
index 455a0b11..fa583fba 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java
@@ -44,6 +44,7 @@ public class UriTests extends AbstractProviderTestCase {
         // Try fetching base folder again by its URI
         final String uri = readFolder.getName().getURI();
         FileObject file = getManager().resolveFile(uri, 
readFolder.getFileSystem().getFileSystemOptions());
+        assertEquals("file object", readFolder, file);
         assertSame("file object", readFolder, file);
 
         // Try fetching the filesystem root by its URI

Reply via email to