MCPcopy Index your code
hub / github.com/prototypejs/prototype / fail

Function fail

test/unit/static/js/assertions.js:15–23  ·  view source on GitHub ↗
(actual, expected, message, operator, stackStartFunction)

Source from the content-addressed store, hash-verified

13 }
14
15 function fail (actual, expected, message, operator, stackStartFunction) {
16 throw new AssertionError({
17 message: message,
18 actual: actual,
19 expected: expected,
20 operator: operator,
21 stackStartFunction: stackStartFunction
22 });
23 }
24
25 // Utility for deep equality testing of objects
26 function objectsEqual (obj1, obj2) {

Callers 2

okFunction · 0.70
assertions.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected