
The `require.XXX` functions are exactly the same as `assert.XXX` functions + directly failing the test, so this refactor simplifies the code quite a bit. Can be done in more areas than this. No functional changes.
The `require.XXX` functions are exactly the same as `assert.XXX` functions + directly failing the test, so this refactor simplifies the code quite a bit. Can be done in more areas than this. No functional changes.