Skip to content

Commit 8483ef5

Browse files
committed
0.11 adds a null value to one of the properties so deepEqual won't work anymore
1 parent 26d5fb1 commit 8483ef5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test-agentOptions.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var s = http.createServer(function (req, resp) {
1515

1616
// requests with agentOptions should apply agentOptions to new agent in pool
1717
var r2 = request('http://localhost:6767', { agentOptions: { foo: 'bar' } }, function (e, resp, body) {
18-
assert.deepEqual(r2.agent.options, { foo: 'bar' });
18+
assert.equal(r2.agent.options.foo, 'bar');
1919
assert.equal(Object.keys(r2.pool).length, 1);
2020
s.close()
2121
});

0 commit comments

Comments
 (0)