mirror of
https://github.com/nodejs/node.git
synced 2025-05-17 16:40:19 +00:00

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>
13 lines
197 B
JavaScript
13 lines
197 B
JavaScript
/* eslint-disable indent */
|
|
'use strict';
|
|
require('../common');
|
|
|
|
console.error('before');
|
|
|
|
(function() {
|
|
// these lines should contain tab!
|
|
throw ({ foo: 'bar' });
|
|
})();
|
|
|
|
console.error('after');
|