mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
This spec tests `reshape()` with more cases than the one in test/utils/array.test.js, including various types. Also, in `_reshape()`, throw a brand new `DimensionError` instead of modifying the caught one (the error message does not change when other attributes are modified, as it is computed when the error is created).