Skip to content

Commit a350fad

Browse files
committed
FIX: tests. still need to add more tests tho
1 parent 1b5fb1d commit a350fad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/lib-caronte-common-test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ describe('lib/caronte/common.js', function () {
77
var outgoing = {};
88
common.setupOutgoing(outgoing,
99
{
10+
agent : '?',
1011
target: {
1112
host : 'hey',
1213
hostname : 'how',
1314
socketPath: 'are',
1415
port : 'you',
15-
agent : '?'
1616
}
1717
},
1818
{
@@ -35,12 +35,12 @@ describe('lib/caronte/common.js', function () {
3535
it('set the port according to the protocol', function () {
3636
var outgoing = {};
3737
common.setupOutgoing(outgoing,
38-
{
38+
{
39+
agent : '?',
3940
target: {
4041
host : 'how',
4142
hostname : 'are',
4243
socketPath: 'you',
43-
agent : '?',
4444
protocol: 'https:'
4545
}
4646
},

0 commit comments

Comments
 (0)