This is an automated email from the ASF dual-hosted git repository. adelbene pushed a commit to branch wicket-9.x in repository https://gitbox.apache.org/repos/asf/wicket.git
commit 733d925cffb91ffb86d445f42dd11654b5760fdb Author: Tim te Beek <[email protected]> AuthorDate: Thu Oct 27 08:37:13 2022 +0200 Also swap order in assertNotEquals --- .../src/test/java/org/apache/wicket/util/io/ConnectionsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicket-util/src/test/java/org/apache/wicket/util/io/ConnectionsTest.java b/wicket-util/src/test/java/org/apache/wicket/util/io/ConnectionsTest.java index 548b84c3bf..02601b371f 100644 --- a/wicket-util/src/test/java/org/apache/wicket/util/io/ConnectionsTest.java +++ b/wicket-util/src/test/java/org/apache/wicket/util/io/ConnectionsTest.java @@ -39,6 +39,6 @@ class ConnectionsTest URL url = new URL("https://wicket.apache.org/learn/books/wia.png"); Instant lastModified = Connections.getLastModified(url); assertNotNull(lastModified); - assertNotEquals(lastModified.toEpochMilli(), 0L); + assertNotEquals(0L, lastModified.toEpochMilli()); } }
