test262/harness/runTestCase.js
2014-12-07 15:33:09 -08:00

6 lines
126 B
JavaScript

function runTestCase(testcase) {
if (testcase() !== true) {
$ERROR("Test case returned non-true value!");
}
}