MCPcopy Index your code
hub / github.com/nodejs/node / shouldNotBeTaken

Function shouldNotBeTaken

deps/v8/test/mjsunit/undetectable.js:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7var obj = %GetUndetectable();
8
9function shouldNotBeTaken() {
10 fail("Undetectable branch should not be taken", "branch was taken");
11}
12
13function shouldBeTaken() {
14 fail("Inverted Undetectable branch should be taken", "branch was not taken");

Callers 3

testIfsFunction · 0.85
testWhilesFunction · 0.85
testForsFunction · 0.85

Calls 1

failFunction · 0.70

Tested by

no test coverage detected