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

Function test

deps/v8/test/webkit/for-in-exeception.js:38–42  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

36}
37
38function test(func) {
39 for (var foo in func()) {
40 testFailed("Shoud not be reached");
41 }
42}
43
44shouldBeUndefined("test(throwUndefinedException)");
45shouldBeUndefined("test(throwNullException)");

Callers

nothing calls this directly

Calls 2

testFailedFunction · 0.85
funcFunction · 0.70

Tested by

no test coverage detected