(expected_true, function_name, description, error, substitutions)
| 3433 | * Utility functions |
| 3434 | */ |
| 3435 | function assert(expected_true, function_name, description, error, substitutions) |
| 3436 | { |
| 3437 | if (expected_true !== true) { |
| 3438 | var msg = make_message(function_name, description, |
| 3439 | error, substitutions); |
| 3440 | throw new AssertionError(msg); |
| 3441 | } |
| 3442 | } |
| 3443 | |
| 3444 | function AssertionError(message) |
| 3445 | { |
no test coverage detected