Debian Codegraph @

rhino/testsrc/org/mozilla/javascript/tests/commonjs/module/1.0/missing/program.js

raw symbols SCIP
1 var test = require('test');
2 try {
3 require('bogus');
4 test.print('FAIL require throws error when module missing', 'fail');
5 } catch (exception) {
6 test.print('PASS require throws error when module missing', 'pass');
7 }
8 test.print('DONE', 'info');