* Assert the provided value is thrown. * * @param {value} exception The expected exception. * @param {Function} func Function which should throw. * @param {string} description Error description for the case that the error is not thrown.
(exception, func, description)
| 1782 | * @param {string} description Error description for the case that the error is not thrown. |
| 1783 | */ |
| 1784 | function assert_throws_exactly(exception, func, description) |
| 1785 | { |
| 1786 | assert_throws_exactly_impl(exception, func, description, |
| 1787 | "assert_throws_exactly"); |
| 1788 | } |
| 1789 | expose(assert_throws_exactly, "assert_throws_exactly"); |
| 1790 | |
| 1791 | /** |
nothing calls this directly
no test coverage detected