* 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)
| 2585 | * @param {string} [description] Error description for the case that the error is not thrown. |
| 2586 | */ |
| 2587 | function assert_throws_exactly(exception, func, description) |
| 2588 | { |
| 2589 | assert_throws_exactly_impl(exception, func, description, |
| 2590 | "assert_throws_exactly"); |
| 2591 | } |
| 2592 | expose_assert(assert_throws_exactly, "assert_throws_exactly"); |
| 2593 | |
| 2594 | /** |
no test coverage detected