mirror of https://github.com/lukechilds/node.git
Browse Source
Many tests use require() to import modules that subsequently never gets used. This removes those imports and, in a few cases, removes other unused variables from tests. PR-URL: https://github.com/nodejs/node/pull/4684 Reviewed-By: Myles Borins <mborins@us.ibm.com>v4.x
Rich Trott
9 years ago
committed by
Myles Borins
28 changed files with 5 additions and 50 deletions
@ -1,3 +1,3 @@ |
|||||
'use strict'; |
'use strict'; |
||||
require('../../common'); |
require('../../common'); |
||||
var binding = require('./build/Release/binding'); |
require('./build/Release/binding'); |
||||
|
@ -1,9 +1,8 @@ |
|||||
'use strict'; |
'use strict'; |
||||
require('../common'); |
require('../common'); |
||||
var assert = require('assert'); |
|
||||
|
|
||||
// Test that allocating a timer does not increase the loop's reference
|
// Test that allocating a timer does not increase the loop's reference
|
||||
// count.
|
// count.
|
||||
|
|
||||
var Timer = process.binding('timer_wrap').Timer; |
var Timer = process.binding('timer_wrap').Timer; |
||||
var t = new Timer(); |
new Timer(); |
||||
|
Loading…
Reference in new issue