The method assert.GreaterOrEqual(t, a, b) asserts that a >= b, but the arguments were (expected, actual), which is the wrong way around since we want to assure that the actual size is at least the expected size, i.e. actual >= expected and thus the argument should be (actual, expected). The partition table size (pt.Size) is in sectors while our checks and customizations are in bytes, so we need to convert when comparing. Co-Authored-By: Achilleas Koutsou <achilleas@koutsou.net> |
||
|---|---|---|
| .. | ||
| customizations.go | ||
| disk.go | ||
| disk_test.go | ||