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

Function shouldBeVal

deps/v8/test/webkit/fast/js/kde/func-decl.js:33–38  ·  view source on GitHub ↗
(msg, val, expected)

Source from the content-addressed store, hash-verified

31}
32
33function shouldBeVal(msg, val, expected) {
34 if (val != expected)
35 testFailed(msg + ": value is " + val + " , not:" + expected);
36 else
37 testPassed(msg);
38}
39
40f = "global";
41

Callers 1

testFunction · 0.85

Calls 2

testFailedFunction · 0.85
testPassedFunction · 0.85

Tested by 1

testFunction · 0.68