Function
constructorsAreDifferentFormatter
(pp, actual, expected, path)
Source from the content-addressed store, hash-verified
| 5231 | } |
| 5232 | |
| 5233 | function constructorsAreDifferentFormatter(pp, actual, expected, path) { |
| 5234 | if (!path.depth()) { |
| 5235 | path = 'object'; |
| 5236 | } |
| 5237 | |
| 5238 | return ( |
| 5239 | 'Expected ' + |
| 5240 | path + |
| 5241 | ' to be a kind of ' + |
| 5242 | j$.fnNameFor(expected.constructor) + |
| 5243 | ', but was ' + |
| 5244 | pp(actual) + |
| 5245 | '.' |
| 5246 | ); |
| 5247 | } |
| 5248 | |
| 5249 | function actualArrayIsLongerFormatter(pp, actual, expected, path) { |
| 5250 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected