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

Function shouldNotThrow

deps/v8/test/webkit/resources/standalone-pre.js:181–189  ·  view source on GitHub ↗
(_a)

Source from the content-addressed store, hash-verified

179
180
181function shouldNotThrow(_a)
182{
183 try {
184 eval(_a);
185 testPassed(_a + " did not throw exception.");
186 } catch (e) {
187 testFailed(_a + " should not throw exception. Threw exception " + e + ".");
188 }
189}
190
191function isSuccessfullyParsed()
192{

Calls 3

testPassedFunction · 0.85
testFailedFunction · 0.85
evalFunction · 0.50

Tested by

no test coverage detected