I created a new test with a single assert Module to confirm a module was correctly loaded.
To my surprise, I saw Passed: 3. I re-ran the script and saw Passed: 1. I ran it a few times in a row, with no file edits in between:
pushcx@tweed ~/code/hotcake:main % $ be qt test/hotcake_optimist.test.rb
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ 100%
Passed: 1 | Failed: 0 | Errors: 0
1s pushcx@tweed ~/code/hotcake:main % $ be qt test/hotcake_optimist.test.rb
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ 100%
Passed: 3 | Failed: 0 | Errors: 0
1s pushcx@tweed ~/code/hotcake:main % $ be qt test/hotcake_optimist.test.rb
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ 100%
Passed: 1 | Failed: 0 | Errors: 0
So there's some kind of inconsistent overcounting bug.
I created a new test with a single
assert Moduleto confirm a module was correctly loaded.To my surprise, I saw
Passed: 3. I re-ran the script and sawPassed: 1. I ran it a few times in a row, with no file edits in between:So there's some kind of inconsistent overcounting bug.