Permalink
Browse files

remove trailing commas so the tests run in ie<8

  • Loading branch information...
1 parent 40a3d21 commit 6e0991fd21e256618669fbd2410bf522824477be @substack committed Dec 17, 2012
Showing with 13 additions and 13 deletions.
  1. +1 −1 test/circular.js
  2. +3 −3 test/proto.js
  3. +6 −6 test/scrub.js
  4. +3 −3 test/wrap.js
View
@@ -12,7 +12,7 @@ test('circular', function (t) {
{
arguments : [ { a : 1, b : 2, c : '[Circular]' } ],
callbacks : {},
- links : [ { 'from' : [ '0' ], 'to' : [ '0', 'c' ] } ],
+ links : [ { 'from' : [ '0' ], 'to' : [ '0', 'c' ] } ]
}
);
View
@@ -33,7 +33,7 @@ test('proto hashes', function (t) {
method : 'methods',
arguments : [ { x : '[Function]', y : 555 } ],
callbacks : { 0 : [ '0', 'x' ] },
- links : [],
+ links : []
} ]);
c.start();
@@ -42,7 +42,7 @@ test('proto hashes', function (t) {
method : 'methods',
arguments : [ {} ],
callbacks : {},
- links : [],
+ links : []
} ]);
var pending = 2;
@@ -59,6 +59,6 @@ test('proto hashes', function (t) {
method : 'x',
arguments : [ '[Function]', '[Function]' ],
callbacks : { 0 : [ '0' ], 1 : [ '1' ] },
- links : [],
+ links : []
} ]);
});
View
@@ -8,7 +8,7 @@ test('no functions', function (t) {
{
arguments : [ 1, 2, 3 ],
callbacks : {},
- links : [],
+ links : []
}
);
@@ -17,7 +17,7 @@ test('no functions', function (t) {
{
arguments : [ 4, { a : 5, b : 6 } ],
callbacks : {},
- links : [],
+ links : []
}
);
t.end();
@@ -34,7 +34,7 @@ test('functions', function (t) {
t.deepEqual(sc, {
arguments : [ 1, 2, '[Function]', '[Function]' ],
callbacks : { 0 : [ '2' ], 1 : [ '3' ] },
- links : [],
+ links : []
});
s.callbacks[0]();
@@ -57,7 +57,7 @@ test('link', function (t) {
[ 0, { a : 1, b : 2, c : 3, d : '[Circular]' }, 4 ], 5, 6
],
callbacks : {},
- links : [ { from : [ '0', '1' ], to : [ '0', '1', 'd' ] } ],
+ links : [ { from : [ '0', '1' ], to : [ '0', '1', 'd' ] } ]
});
t.end();
});
@@ -77,8 +77,8 @@ test('multilink', function (t) {
callbacks : {},
links : [
{ from : [ '0', '1' ], to : [ '0', '1', 'd' ] },
- { from : [], to : [ '3' ] },
- ],
+ { from : [], to : [ '3' ] }
+ ]
});
t.end();
});
View
@@ -57,7 +57,7 @@ test('proto hashes', function (t) {
method : 'methods',
arguments : [ { x : '[Function]', y : 555 } ],
callbacks : { 0 : [ '0', 'x' ] },
- links : [],
+ links : []
} ]);
c.start();
@@ -66,7 +66,7 @@ test('proto hashes', function (t) {
method : 'methods',
arguments : [ {} ],
callbacks : {},
- links : [],
+ links : []
} ]);
c.request('x', [
@@ -84,6 +84,6 @@ test('proto hashes', function (t) {
method : 'x',
arguments : [ '[Function]', '[Function]' ],
callbacks : { 0 : [ '0' ], 1 : [ '1' ] },
- links : [],
+ links : []
} ]);
});

0 comments on commit 6e0991f

Please sign in to comment.