Fix error message in TestNewBinaryIO

Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
Shengjing Zhu 2022-03-25 11:56:21 +08:00
parent eaf7929320
commit 2689432bfa

View File

@ -46,7 +46,7 @@ func TestNewBinaryIO(t *testing.T) {
after := descriptorCount(t)
if before != after-1 { // one descriptor must be closed from shim logger side
t.Fatalf("some descriptors weren't closed (%d != %d)", before, after)
t.Fatalf("some descriptors weren't closed (%d != %d -1)", before, after)
}
}