@@ -96,7 +96,7 @@ describe('app.respond', () => {
9696 . get ( '/' )
9797 . expect ( 200 ) ;
9898
99- assert . equal ( res . headers . hasOwnProperty ( 'Content-Type' ) , false ) ;
99+ assert . strictEqual ( res . headers . hasOwnProperty ( 'Content-Type' ) , false ) ;
100100 } ) ;
101101 } ) ;
102102
@@ -114,8 +114,8 @@ describe('app.respond', () => {
114114 . head ( '/' )
115115 . expect ( 200 ) ;
116116
117- assert . equal ( res . headers [ 'content-type' ] , 'text/plain; charset=utf-8' ) ;
118- assert . equal ( res . headers [ 'content-length' ] , '5' ) ;
117+ assert . strictEqual ( res . headers [ 'content-type' ] , 'text/plain; charset=utf-8' ) ;
118+ assert . strictEqual ( res . headers [ 'content-length' ] , '5' ) ;
119119 assert ( ! res . text ) ;
120120 } ) ;
121121
@@ -132,8 +132,8 @@ describe('app.respond', () => {
132132 . head ( '/' )
133133 . expect ( 200 ) ;
134134
135- assert . equal ( res . headers [ 'content-type' ] , 'application/json; charset=utf-8' ) ;
136- assert . equal ( res . headers [ 'content-length' ] , '17' ) ;
135+ assert . strictEqual ( res . headers [ 'content-type' ] , 'application/json; charset=utf-8' ) ;
136+ assert . strictEqual ( res . headers [ 'content-length' ] , '17' ) ;
137137 assert ( ! res . text ) ;
138138 } ) ;
139139
@@ -150,8 +150,8 @@ describe('app.respond', () => {
150150 . head ( '/' )
151151 . expect ( 200 ) ;
152152
153- assert . equal ( res . headers [ 'content-type' ] , 'text/plain; charset=utf-8' ) ;
154- assert . equal ( res . headers [ 'content-length' ] , '11' ) ;
153+ assert . strictEqual ( res . headers [ 'content-type' ] , 'text/plain; charset=utf-8' ) ;
154+ assert . strictEqual ( res . headers [ 'content-length' ] , '11' ) ;
155155 assert ( ! res . text ) ;
156156 } ) ;
157157
@@ -168,8 +168,8 @@ describe('app.respond', () => {
168168 . head ( '/' )
169169 . expect ( 200 ) ;
170170
171- assert . equal ( res . headers [ 'content-type' ] , 'application/octet-stream' ) ;
172- assert . equal ( res . headers [ 'content-length' ] , '11' ) ;
171+ assert . strictEqual ( res . headers [ 'content-type' ] , 'application/octet-stream' ) ;
172+ assert . strictEqual ( res . headers [ 'content-length' ] , '11' ) ;
173173 assert ( ! res . text ) ;
174174 } ) ;
175175
@@ -189,7 +189,7 @@ describe('app.respond', () => {
189189 . head ( '/' )
190190 . expect ( 200 ) ;
191191
192- assert . equal ( res . header [ 'content-length' ] , length ) ;
192+ assert . strictEqual ( res . header [ 'content-length' ] , length ) ;
193193 assert ( ! res . text ) ;
194194 } ) ;
195195
@@ -329,7 +329,7 @@ describe('app.respond', () => {
329329 . expect ( 204 )
330330 . expect ( '' ) ;
331331
332- assert . equal ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
332+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
333333 } ) ;
334334 } ) ;
335335
@@ -348,7 +348,7 @@ describe('app.respond', () => {
348348 . expect ( 205 )
349349 . expect ( '' ) ;
350350
351- assert . equal ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
351+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
352352 } ) ;
353353 } ) ;
354354
@@ -367,7 +367,7 @@ describe('app.respond', () => {
367367 . expect ( 304 )
368368 . expect ( '' ) ;
369369
370- assert . equal ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
370+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
371371 } ) ;
372372 } ) ;
373373
@@ -387,7 +387,7 @@ describe('app.respond', () => {
387387 . expect ( 700 )
388388 . expect ( 'custom status' ) ;
389389
390- assert . equal ( res . res . statusMessage , 'custom status' ) ;
390+ assert . strictEqual ( res . res . statusMessage , 'custom status' ) ;
391391 } ) ;
392392 } ) ;
393393
@@ -407,7 +407,7 @@ describe('app.respond', () => {
407407 . expect ( 200 )
408408 . expect ( 'ok' ) ;
409409
410- assert . equal ( res . res . statusMessage , 'ok' ) ;
410+ assert . strictEqual ( res . res . statusMessage , 'ok' ) ;
411411 } ) ;
412412 } ) ;
413413
@@ -444,7 +444,7 @@ describe('app.respond', () => {
444444 . expect ( 204 )
445445 . expect ( '' ) ;
446446
447- assert . equal ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
447+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
448448 } ) ;
449449
450450 it ( 'should respond 204 with status=200' , async ( ) => {
@@ -462,7 +462,7 @@ describe('app.respond', () => {
462462 . expect ( 204 )
463463 . expect ( '' ) ;
464464
465- assert . equal ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
465+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
466466 } ) ;
467467
468468 it ( 'should respond 205 with status=205' , async ( ) => {
@@ -480,7 +480,7 @@ describe('app.respond', () => {
480480 . expect ( 205 )
481481 . expect ( '' ) ;
482482
483- assert . equal ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
483+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
484484 } ) ;
485485
486486 it ( 'should respond 304 with status=304' , async ( ) => {
@@ -498,7 +498,7 @@ describe('app.respond', () => {
498498 . expect ( 304 )
499499 . expect ( '' ) ;
500500
501- assert . equal ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
501+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
502502 } ) ;
503503 } ) ;
504504
@@ -551,7 +551,7 @@ describe('app.respond', () => {
551551 . expect ( 'Content-Type' , 'application/json; charset=utf-8' ) ;
552552
553553 const pkg = require ( '../../package' ) ;
554- assert . equal ( res . headers . hasOwnProperty ( 'content-length' ) , false ) ;
554+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-length' ) , false ) ;
555555 assert . deepEqual ( res . body , pkg ) ;
556556 } ) ;
557557
@@ -571,7 +571,7 @@ describe('app.respond', () => {
571571 . expect ( 'Content-Type' , 'application/json; charset=utf-8' ) ;
572572
573573 const pkg = require ( '../../package' ) ;
574- assert . equal ( res . headers . hasOwnProperty ( 'content-length' ) , false ) ;
574+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-length' ) , false ) ;
575575 assert . deepEqual ( res . body , pkg ) ;
576576 } ) ;
577577
@@ -591,7 +591,7 @@ describe('app.respond', () => {
591591 . expect ( 'Content-Type' , 'application/json; charset=utf-8' ) ;
592592
593593 const pkg = require ( '../../package' ) ;
594- assert . equal ( res . headers . hasOwnProperty ( 'content-length' ) , true ) ;
594+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-length' ) , true ) ;
595595 assert . deepEqual ( res . body , pkg ) ;
596596 } ) ;
597597
@@ -614,7 +614,7 @@ describe('app.respond', () => {
614614 . expect ( 'Content-Type' , 'application/json; charset=utf-8' ) ;
615615
616616 const pkg = require ( '../../package' ) ;
617- assert . equal ( res . headers . hasOwnProperty ( 'content-length' ) , true ) ;
617+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-length' ) , true ) ;
618618 assert . deepEqual ( res . body , pkg ) ;
619619 } ) ;
620620
@@ -716,7 +716,7 @@ describe('app.respond', () => {
716716 } ) ;
717717
718718 app . on ( 'error' , err => {
719- assert . equal ( err . message , 'boom' ) ;
719+ assert . strictEqual ( err . message , 'boom' ) ;
720720 done ( ) ;
721721 } ) ;
722722
@@ -829,7 +829,7 @@ describe('app.respond', () => {
829829 . get ( '/' )
830830 . expect ( 204 ) ;
831831
832- assert . equal ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
832+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
833833 } ) ;
834834 } ) ;
835835
@@ -866,7 +866,7 @@ describe('app.respond', () => {
866866 . expect ( '' )
867867 . expect ( { } ) ;
868868
869- assert . equal ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
869+ assert . strictEqual ( res . headers . hasOwnProperty ( 'content-type' ) , false ) ;
870870 } ) ;
871871 } ) ;
872872} ) ;
0 commit comments