assert: fix actual & expected input
This makes sure the actual and expected values on the error thrown
by assert.throws
etc. are always as they should be.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines