Skip to content

Commit b68cb17

Browse files
committed
standard
1 parent b0723ff commit b68cb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ test('simple get json', function (t) {
5858

5959
var server = http.createServer(function (req, res) {
6060
t.equal(req.url, '/path')
61-
t.equal(req.headers['accept'], 'application/json')
61+
t.equal(req.headers.accept, 'application/json')
6262
res.statusCode = 200
6363
res.end('{"message":"response"}')
6464
})

0 commit comments

Comments
 (0)