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'; |
|||
require('../../common'); |
|||
var binding = require('./build/Release/binding'); |
|||
require('./build/Release/binding'); |
|||
|
@ -1,9 +1,8 @@ |
|||
'use strict'; |
|||
require('../common'); |
|||
var assert = require('assert'); |
|||
|
|||
// Test that allocating a timer does not increase the loop's reference
|
|||
// count.
|
|||
|
|||
var Timer = process.binding('timer_wrap').Timer; |
|||
var t = new Timer(); |
|||
new Timer(); |
|||
|
Loading…
Reference in new issue