From a030c5cf49c143545258b9f2d67e566cb2bfcdfd Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 26 Dec 2015 22:45:46 -0800 Subject: test: remove unused assert module imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Brian White Reviewed-By: Colin Ihrig --- test/sequential/test-stream2-stderr-sync.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/sequential/test-stream2-stderr-sync.js') diff --git a/test/sequential/test-stream2-stderr-sync.js b/test/sequential/test-stream2-stderr-sync.js index 0889a38ed3..c7daaa6b08 100644 --- a/test/sequential/test-stream2-stderr-sync.js +++ b/test/sequential/test-stream2-stderr-sync.js @@ -2,10 +2,6 @@ // Make sure that sync writes to stderr get processed before exiting. require('../common'); -var assert = require('assert'); -var util = require('util'); - -var errnoException = util._errnoException; function parent() { var spawn = require('child_process').spawn; -- cgit v1.2.3