MCPcopy Create free account
hub / github.com/nodejs/node / shouldBeEqualToString

Function shouldBeEqualToString

deps/v8/test/webkit/resources/standalone-pre.js:128–134  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

126function shouldBeNull(_a) { shouldBe(_a, "null"); }
127
128function shouldBeEqualToString(a, b)
129{
130 if (typeof a !== "string" || typeof b !== "string")
131 debug("WARN: shouldBeEqualToString() expects string arguments");
132 var unevaledString = JSON.stringify(b);
133 shouldBe(a, unevaledString);
134}
135
136function shouldBeUndefined(_a)
137{

Calls 2

debugFunction · 0.70
shouldBeFunction · 0.70

Tested by

no test coverage detected