MCPcopy
hub / github.com/microsoft/SandDance / getMessage

Function getMessage

docs/tests/v2/es6/js/sanddance.js:8444–8448  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8442 return '[Function' + name + ']';
8443}
8444function getMessage(self) {
8445 return truncate(inspect(self.actual), 128) + ' ' +
8446 self.operator + ' ' +
8447 truncate(inspect(self.expected), 128);
8448}
8449
8450// At present only the three keys mentioned above are used and
8451// understood by the spec. Implementations or sub modules can pass

Callers 1

sanddance.jsFile · 0.85

Calls 2

inspectFunction · 0.85
truncateFunction · 0.70

Tested by

no test coverage detected