Skip to content

Commit

Permalink
http: tests for 451 status code
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarinov committed Dec 21, 2015
1 parent a9e260a commit 64aa56b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http-status-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var http = require('http');
// ServerResponse.prototype.statusCode

var testsComplete = 0;
var tests = [200, 202, 300, 404, 500];
var tests = [200, 202, 300, 404, 451, 500];
var testIdx = 0;

var s = http.createServer(function(req, res) {
Expand Down Expand Up @@ -42,6 +42,6 @@ function nextTest() {


process.on('exit', function() {
assert.equal(4, testsComplete);
assert.equal(5, testsComplete);
});

0 comments on commit 64aa56b

Please sign in to comment.