summaryrefslogtreecommitdiff
path: root/test/gc
diff options
context:
space:
mode:
authorBrendan Ashworth <brendan.ashworth@me.com>2015-02-21 18:47:04 -0800
committerChris Dickinson <christopher.s.dickinson@gmail.com>2015-02-22 19:34:17 -0800
commit0df54303c12953f1a6a51b1b08377b7d87449008 (patch)
tree5937695a21b657910f2dcea33879b027ab76317c /test/gc
parentb9686233fc0be679d7ba1262b611711629ee334e (diff)
downloadandroid-node-v8-0df54303c12953f1a6a51b1b08377b7d87449008.tar.gz
android-node-v8-0df54303c12953f1a6a51b1b08377b7d87449008.tar.bz2
android-node-v8-0df54303c12953f1a6a51b1b08377b7d87449008.zip
test: common.js -> common
This commit changes many test styles to change all references from require('./common.js'); to require('./common');. The latter is much more common, with the former only being used in 50 tests. It is just a stylistic change, and it seems that `common.js` was introduced by a rogue test and copied and pasted into the rest. Semver: patch PR-URL: https://github.com/iojs/io.js/pull/917 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/gc')
-rw-r--r--test/gc/test-http-client-connaborted.js2
-rw-r--r--test/gc/test-http-client-onerror.js2
-rw-r--r--test/gc/test-http-client-timeout.js2
-rw-r--r--test/gc/test-http-client.js2
-rw-r--r--test/gc/test-net-timeout.js2
5 files changed, 5 insertions, 5 deletions
diff --git a/test/gc/test-http-client-connaborted.js b/test/gc/test-http-client-connaborted.js
index 4fbb429298..c58b4d5f75 100644
--- a/test/gc/test-http-client-connaborted.js
+++ b/test/gc/test-http-client-connaborted.js
@@ -11,7 +11,7 @@ var http = require('http'),
count = 0,
countGC = 0,
todo = 500,
- common = require('../common.js'),
+ common = require('../common'),
assert = require('assert'),
PORT = common.PORT;
diff --git a/test/gc/test-http-client-onerror.js b/test/gc/test-http-client-onerror.js
index 80a3fcf5b6..bf9fb7c1fb 100644
--- a/test/gc/test-http-client-onerror.js
+++ b/test/gc/test-http-client-onerror.js
@@ -13,7 +13,7 @@ var http = require('http'),
count = 0,
countGC = 0,
todo = 500,
- common = require('../common.js'),
+ common = require('../common'),
assert = require('assert'),
PORT = common.PORT;
diff --git a/test/gc/test-http-client-timeout.js b/test/gc/test-http-client-timeout.js
index 99a97d73b7..727d133f71 100644
--- a/test/gc/test-http-client-timeout.js
+++ b/test/gc/test-http-client-timeout.js
@@ -15,7 +15,7 @@ var http = require('http'),
count = 0,
countGC = 0,
todo = 550,
- common = require('../common.js'),
+ common = require('../common'),
assert = require('assert'),
PORT = common.PORT;
diff --git a/test/gc/test-http-client.js b/test/gc/test-http-client.js
index 4c64bbadbb..6aedda7ede 100644
--- a/test/gc/test-http-client.js
+++ b/test/gc/test-http-client.js
@@ -11,7 +11,7 @@ var http = require('http'),
count = 0,
countGC = 0,
todo = 500,
- common = require('../common.js'),
+ common = require('../common'),
assert = require('assert'),
PORT = common.PORT;
diff --git a/test/gc/test-net-timeout.js b/test/gc/test-net-timeout.js
index 5d2387dc74..2ef03b2632 100644
--- a/test/gc/test-net-timeout.js
+++ b/test/gc/test-net-timeout.js
@@ -22,7 +22,7 @@ var net = require('net'),
count = 0,
countGC = 0,
todo = 500,
- common = require('../common.js'),
+ common = require('../common'),
assert = require('assert'),
PORT = common.PORT;