Skip to content

Commit

Permalink
tests: fix typos in descriptions
Browse files Browse the repository at this point in the history
closes #3875
  • Loading branch information
jhkimwoowa authored and dougwilson committed Apr 16, 2019
1 parent 6f12eee commit b9b1b19
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/app.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ describe('app.router', function(){
.expect('/user/tobi.json', done)
})

it('should decore the capture', function (done) {
it('should decode the capture', function (done) {
var app = express()

app.get('*', function (req, res) {
Expand Down
4 changes: 2 additions & 2 deletions test/req.acceptsCharset.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ describe('req', function(){
})
})

describe('when Accept-Charset is not present', function(){
it('should return true when present', function(done){
describe('when Accept-Charset is present', function () {
it('should return true', function (done) {
var app = express();

app.use(function(req, res, next){
Expand Down
4 changes: 2 additions & 2 deletions test/req.acceptsCharsets.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ describe('req', function(){
})
})

describe('when Accept-Charset is not present', function(){
it('should return true when present', function(done){
describe('when Accept-Charset is present', function () {
it('should return true', function (done) {
var app = express();

app.use(function(req, res, next){
Expand Down
2 changes: 1 addition & 1 deletion test/req.acceptsEncodings.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var express = require('../')
, request = require('supertest');

describe('req', function(){
describe('.acceptsEncodingss', function(){
describe('.acceptsEncodings', function () {
it('should be true if encoding accepted', function(done){
var app = express();

Expand Down
2 changes: 1 addition & 1 deletion test/req.query.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('req', function(){
});
});

describe('when "query parser" disabled', function () {
describe('when "query parser" enabled', function () {
it('should not parse complex keys', function (done) {
var app = createApp(true);

Expand Down
4 changes: 2 additions & 2 deletions test/res.download.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('res', function(){
})

describe('when options.headers contains Content-Disposition', function () {
it('should should be ignored', function (done) {
it('should be ignored', function (done) {
var app = express()

app.use(function (req, res) {
Expand All @@ -130,7 +130,7 @@ describe('res', function(){
.end(done)
})

it('should should be ignored case-insensitively', function (done) {
it('should be ignored case-insensitively', function (done) {
var app = express()

app.use(function (req, res) {
Expand Down

0 comments on commit b9b1b19

Please sign in to comment.