steinarb commented on code in PR #2772:
URL: https://github.com/apache/shiro/pull/2772#discussion_r3422320334


##########
samples/web/src/test/java/org/apache/shiro/test/web/jakarta/JakartaAbstractContainerIT.java:
##########
@@ -57,7 +57,9 @@ public boolean accept(File dir, String name) {
             }
         });
 
-        assertEquals(1, warFiles.length, "Expected only one war file in target 
directory, run 'mvn clean' and try again");
+        assertThat(warFiles.length)

Review Comment:
   Why not hasSize(1)? Should work even if this is an array?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to