Skip to content

Commit eaa0eb8

Browse files
JUnit Jupiter best practices (#169)
Co-authored-by: Moderne <[email protected]>
1 parent 9329fa6 commit eaa0eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/codehaus/plexus/components/io/filemappers/ResourcesTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ private void compare(InputStream in, File file) throws IOException {
132132
}
133133

134134
private void compare(PlexusIoResource res, File file) throws IOException {
135-
assertNotSame(res.getLastModified(), PlexusIoResource.UNKNOWN_MODIFICATION_DATE);
135+
assertNotSame(PlexusIoResource.UNKNOWN_MODIFICATION_DATE, res.getLastModified());
136136
if (res instanceof PlexusIoFileResource) {
137137
assertEquals(res.getLastModified() / 1000, file.lastModified() / 1000);
138138
}
139-
assertNotSame(res.getSize(), PlexusIoResource.UNKNOWN_RESOURCE_SIZE);
139+
assertNotSame(PlexusIoResource.UNKNOWN_RESOURCE_SIZE, res.getSize());
140140
assertEquals(res.getSize(), file.length());
141141
InputStream in = res.getContents();
142142
compare(in, file);

0 commit comments

Comments
 (0)