Skip to content
Browse files

remove trailing commas from tests

  • Loading branch information...
1 parent cab3ca9 commit 7286efb7edbff883a52f52e8cc7c43c57b4f851b @substack committed
Showing with 8 additions and 8 deletions.
  1. +3 −3 test/broadcast.js
  2. +1 −1 test/circular.js
  3. +1 −1 test/null.js
  4. +1 −1 test/refs.js
  5. +1 −1 test/self-referential.js
  6. +1 −1 test/simple.js
View
6 test/broadcast.js
@@ -26,7 +26,7 @@ test('broadcast', function (t) {
var client0 = dnode({
name : '#0',
- message : function (msg) { recv[0].push(msg) },
+ message : function (msg) { recv[0].push(msg) }
});
client0.on('remote', function (remote) {
setTimeout(function () {
@@ -37,7 +37,7 @@ test('broadcast', function (t) {
var client1 = dnode({
name : '#1',
- message : function (msg) { recv[1].push(msg) },
+ message : function (msg) { recv[1].push(msg) }
});
client1.on('remote', function (remote) {
setTimeout(function () {
@@ -48,7 +48,7 @@ test('broadcast', function (t) {
var client2 = dnode({
name : '#2',
- message : function (msg) { recv[2].push(msg) },
+ message : function (msg) { recv[2].push(msg) }
});
client2.on('remote', function (remote) {
setTimeout(function () {
View
2 test/circular.js
@@ -13,7 +13,7 @@ test('circular refs', function (t) {
ref.d = ref.c;
f(ref);
- },
+ }
});
var client = dnode();
View
2 test/null.js
@@ -14,7 +14,7 @@ test('null', function (t) {
sTimesTen : function (n, cb) {
t.equal(n, 5);
cb(n * 10, null);
- },
+ }
});
var client = dnode();
View
2 test/refs.js
@@ -6,7 +6,7 @@ test('refs', function (t) {
var server = dnode({
a : 1,
- b : 2,
+ b : 2
});
var client = dnode();
View
2 test/self-referential.js
@@ -15,7 +15,7 @@ test('self-referential', function (t) {
t.strictEqual(n[2],3);
t.strictEqual(n[3],n);
reply(n);
- },
+ }
});
var client = dnode();
View
2 test/simple.js
@@ -13,7 +13,7 @@ test('simple server and client', function (t) {
sTimesTen : function (n, cb) {
t.equal(n, 5);
cb(n * 10);
- },
+ }
});
var client = dnode();

0 comments on commit 7286efb

Please sign in to comment.
Something went wrong with that request. Please try again.