You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2022/11/12 17:39:00 UTC
[wicket] 02/02: Also swap order in assertNotEquals
This is an automated email from the ASF dual-hosted git repository.
adelbene pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git
commit e403284b23c5a847018ef069576f5c97966d73a6
Author: Tim te Beek <ti...@jdriven.com>
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());
}
}