(pp, actual, expected, path)
| 5247 | } |
| 5248 | |
| 5249 | function actualArrayIsLongerFormatter(pp, actual, expected, path) { |
| 5250 | return ( |
| 5251 | 'Unexpected ' + |
| 5252 | path + |
| 5253 | (path.depth() ? ' = ' : '') + |
| 5254 | pp(actual) + |
| 5255 | ' in array.' |
| 5256 | ); |
| 5257 | } |
| 5258 | |
| 5259 | function formatKeyValuePairs(pp, keyValuePairs) { |
| 5260 | let formatted = ''; |