node/test/message/vm_display_runtime_error.js
Rich Trott ec0b6362cf test: remove unused assert module imports
Many test modules load assert but do not use it. This change removes
those instances.

It also removes a handful of other unused variables when they were
nearby.

PR-URL: https://github.com/nodejs/node/pull/4438
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2016-01-06 12:10:50 -05:00

9 lines
186 B
JavaScript

'use strict';
require('../common');
var vm = require('vm');
console.error('beginning');
vm.runInThisContext('throw new Error("boo!")', { filename: 'test.vm' });
console.error('end');