Skip to content

Commit

Permalink
adjust threshild in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mawinter69 committed Oct 22, 2023
1 parent 2066838 commit 41e91c6
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -60,6 +60,7 @@ public void string() {
du.setTotalSize(300 * 1024 * 1024);
du.setThreshold(200 * 1024 * 1024);
assertEquals("123.00 MiB out of 300.00 MiB left on /tmp.", du.toString());
assertEquals("Disk space is below threshold of 200.00 MiB. Only 123.00 MiB out of 300.00 MiB left on /tmp.", du.toString());
du.setThreshold(100 * 1024 * 1024);
assertEquals("Disk space is below threshold of 100.00 MiB. Only 123.00 MiB out of 300.00 MiB left on /tmp.", du.toString());
}
}

0 comments on commit 41e91c6

Please sign in to comment.