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 99f627d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
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());
du.setThreshold(100 * 1024 * 1024);
assertEquals("Disk space is below threshold of 200.00 MiB. Only 123.00 MiB out of 300.00 MiB left on /tmp.", du.toString());
}
}

0 comments on commit 99f627d

Please sign in to comment.