Use `assert` in `t/basics/resize.t.js`.

See #351.