Fix bin unit tests - #111
Conversation
|
I'm now realizing I probably should have done this as a part of my PR review, but I'm having a hard time getting a couple of these to pass locally:
Help me @cb1kenobi, you're my only hope! |
|
@cap10morgan This test was failing for me too in both repos. I figured it was a bad test. In theory the after size is less than the before size which would result in a ratio < 1.0. I assumed Personally, I would assert the after < before and call it a day. I don't know how consistent the compaction is and any compaction should prove compaction worked, right? |
Yeah, that all makes sense and I agree the simpler the better. I might do that in a future PR. I want to make the minimum changes to get tests passing and migrated into this repo first. You can see where I'm starting in #117. |
|
@cap10morgan I'm still a little puzzled why the tests passed on my Mac. Maybe the cold weather? |
Fixes #83.