(actual, expected, message, operator, stackStartFunction)
| 8459 | // display purposes. |
| 8460 | |
| 8461 | function fail(actual, expected, message, operator, stackStartFunction) { |
| 8462 | throw new assert.AssertionError({ |
| 8463 | message: message, |
| 8464 | actual: actual, |
| 8465 | expected: expected, |
| 8466 | operator: operator, |
| 8467 | stackStartFunction: stackStartFunction |
| 8468 | }); |
| 8469 | } |
| 8470 | |
| 8471 | // EXTENSION! allows for well behaved errors defined elsewhere. |
| 8472 | assert.fail = fail; |
no outgoing calls
no test coverage detected