fix wrong usage of assertNotNull
Signature of assertNoNull() is taking "actual" as first parameter:
public static void assertNotNull(Object actual, String message) {
AssertNotNull.assertNotNull(actual, message);
}
@@ -63,7 +63,7 @@ public void testGetFreeSpace_String() throws Exception {
boolean kilobyteBlock = true;
try (BufferedReader r = new BufferedReader(new InputStreamReader(proc.getInputStream()))){
final String line = r.readLine();
- assertNotNull("Unexpected null line", line);
+ assertNotNull(line, "Unexpected null line");
if (line.contains("512")) {
kilobyteBlock = false;
}
