@@ -181,7 +181,7 @@ tape( 'the function returns an iterator protocol-compliant object which generate
181181 ] ;
182182
183183 it = iterPulse ( ) ;
184- t . equal ( it . next . length , 0 , 'has zero arity' ) ;
184+ t . strictEqual ( it . next . length , 0 , 'has zero arity' ) ;
185185
186186 actual = [ ] ;
187187 for ( i = 0 ; i < expected . length ; i ++ ) {
@@ -253,7 +253,7 @@ tape( 'the function supports specifying the pulse period', function test( t ) {
253253 'period' : 4
254254 } ;
255255 it = iterPulse ( opts ) ;
256- t . equal ( it . next . length , 0 , 'has zero arity' ) ;
256+ t . strictEqual ( it . next . length , 0 , 'has zero arity' ) ;
257257
258258 actual = [ ] ;
259259 for ( i = 0 ; i < expected . length ; i ++ ) {
@@ -326,7 +326,7 @@ tape( 'the function supports specifying the pulse duration', function test( t )
326326 'duration' : 2
327327 } ;
328328 it = iterPulse ( opts ) ;
329- t . equal ( it . next . length , 0 , 'has zero arity' ) ;
329+ t . strictEqual ( it . next . length , 0 , 'has zero arity' ) ;
330330
331331 actual = [ ] ;
332332 for ( i = 0 ; i < expected . length ; i ++ ) {
@@ -401,7 +401,7 @@ tape( 'the function supports specifying the minimum and maximum amplitude', func
401401 'max' : 10.0
402402 } ;
403403 it = iterPulse ( opts ) ;
404- t . equal ( it . next . length , 0 , 'has zero arity' ) ;
404+ t . strictEqual ( it . next . length , 0 , 'has zero arity' ) ;
405405
406406 actual = [ ] ;
407407 for ( i = 0 ; i < expected . length ; i ++ ) {
@@ -475,7 +475,7 @@ tape( 'the function supports specifying the phase offset (left shift)', function
475475 'offset' : - 3
476476 } ;
477477 it = iterPulse ( opts ) ;
478- t . equal ( it . next . length , 0 , 'has zero arity' ) ;
478+ t . strictEqual ( it . next . length , 0 , 'has zero arity' ) ;
479479
480480 actual = [ ] ;
481481 for ( i = 0 ; i < expected . length ; i ++ ) {
@@ -549,7 +549,7 @@ tape( 'the function supports specifying the phase offset (left shift; mod)', fun
549549 'offset' : - 13
550550 } ;
551551 it = iterPulse ( opts ) ;
552- t . equal ( it . next . length , 0 , 'has zero arity' ) ;
552+ t . strictEqual ( it . next . length , 0 , 'has zero arity' ) ;
553553
554554 actual = [ ] ;
555555 for ( i = 0 ; i < expected . length ; i ++ ) {
@@ -623,7 +623,7 @@ tape( 'the function supports specifying the phase offset (right shift)', functio
623623 'offset' : 3
624624 } ;
625625 it = iterPulse ( opts ) ;
626- t . equal ( it . next . length , 0 , 'has zero arity' ) ;
626+ t . strictEqual ( it . next . length , 0 , 'has zero arity' ) ;
627627
628628 actual = [ ] ;
629629 for ( i = 0 ; i < expected . length ; i ++ ) {
@@ -697,7 +697,7 @@ tape( 'the function supports specifying the phase offset (right shift; mod)', fu
697697 'offset' : 23
698698 } ;
699699 it = iterPulse ( opts ) ;
700- t . equal ( it . next . length , 0 , 'has zero arity' ) ;
700+ t . strictEqual ( it . next . length , 0 , 'has zero arity' ) ;
701701
702702 actual = [ ] ;
703703 for ( i = 0 ; i < expected . length ; i ++ ) {
@@ -741,7 +741,7 @@ tape( 'the function supports limiting the number of iterations', function test(
741741 'iter' : 4
742742 } ;
743743 it = iterPulse ( opts ) ;
744- t . equal ( it . next . length , 0 , 'has zero arity' ) ;
744+ t . strictEqual ( it . next . length , 0 , 'has zero arity' ) ;
745745
746746 actual = [ ] ;
747747 for ( i = 0 ; i < opts . iter ; i ++ ) {
@@ -760,20 +760,20 @@ tape( 'the returned iterator has a `return` method for closing an iterator (no a
760760 it = iterPulse ( ) ;
761761
762762 r = it . next ( ) ;
763- t . equal ( typeof r . value , 'number' , 'returns a number ' ) ;
764- t . equal ( r . done , false , 'returns expected value' ) ;
763+ t . strictEqual ( typeof r . value , 'number' , 'returns expected value ' ) ;
764+ t . strictEqual ( r . done , false , 'returns expected value' ) ;
765765
766766 r = it . next ( ) ;
767- t . equal ( typeof r . value , 'number' , 'returns a number ' ) ;
768- t . equal ( r . done , false , 'returns expected value' ) ;
767+ t . strictEqual ( typeof r . value , 'number' , 'returns expected value ' ) ;
768+ t . strictEqual ( r . done , false , 'returns expected value' ) ;
769769
770770 r = it . return ( ) ;
771- t . equal ( r . value , void 0 , 'returns expected value' ) ;
772- t . equal ( r . done , true , 'returns expected value' ) ;
771+ t . strictEqual ( r . value , void 0 , 'returns expected value' ) ;
772+ t . strictEqual ( r . done , true , 'returns expected value' ) ;
773773
774774 r = it . next ( ) ;
775- t . equal ( r . value , void 0 , 'returns expected value' ) ;
776- t . equal ( r . done , true , 'returns expected value' ) ;
775+ t . strictEqual ( r . value , void 0 , 'returns expected value' ) ;
776+ t . strictEqual ( r . done , true , 'returns expected value' ) ;
777777
778778 t . end ( ) ;
779779} ) ;
@@ -785,20 +785,20 @@ tape( 'the returned iterator has a `return` method for closing an iterator (argu
785785 it = iterPulse ( ) ;
786786
787787 r = it . next ( ) ;
788- t . equal ( typeof r . value , 'number' , 'returns a number ' ) ;
789- t . equal ( r . done , false , 'returns expected value' ) ;
788+ t . strictEqual ( typeof r . value , 'number' , 'returns expected value ' ) ;
789+ t . strictEqual ( r . done , false , 'returns expected value' ) ;
790790
791791 r = it . next ( ) ;
792- t . equal ( typeof r . value , 'number' , 'returns a number ' ) ;
793- t . equal ( r . done , false , 'returns expected value' ) ;
792+ t . strictEqual ( typeof r . value , 'number' , 'returns expected value ' ) ;
793+ t . strictEqual ( r . done , false , 'returns expected value' ) ;
794794
795795 r = it . return ( 'finished' ) ;
796- t . equal ( r . value , 'finished' , 'returns expected value' ) ;
797- t . equal ( r . done , true , 'returns expected value' ) ;
796+ t . strictEqual ( r . value , 'finished' , 'returns expected value' ) ;
797+ t . strictEqual ( r . done , true , 'returns expected value' ) ;
798798
799799 r = it . next ( ) ;
800- t . equal ( r . value , void 0 , 'returns expected value' ) ;
801- t . equal ( r . done , true , 'returns expected value' ) ;
800+ t . strictEqual ( r . value , void 0 , 'returns expected value' ) ;
801+ t . strictEqual ( r . done , true , 'returns expected value' ) ;
802802
803803 t . end ( ) ;
804804} ) ;
@@ -814,16 +814,16 @@ tape( 'if an environment supports `Symbol.iterator`, the returned iterator is it
814814 } ) ;
815815
816816 it1 = iterPulse ( ) ;
817- t . equal ( typeof it1 [ '__ITERATOR_SYMBOL__' ] , 'function' , 'has method' ) ;
818- t . equal ( it1 [ '__ITERATOR_SYMBOL__' ] . length , 0 , 'has zero arity' ) ;
817+ t . strictEqual ( typeof it1 [ '__ITERATOR_SYMBOL__' ] , 'function' , 'has method' ) ;
818+ t . strictEqual ( it1 [ '__ITERATOR_SYMBOL__' ] . length , 0 , 'has zero arity' ) ;
819819
820820 it2 = it1 [ '__ITERATOR_SYMBOL__' ] ( ) ;
821- t . equal ( typeof it2 , 'object' , 'returns an object ' ) ;
822- t . equal ( typeof it2 . next , 'function' , 'has method' ) ;
823- t . equal ( typeof it2 . return , 'function' , 'has method' ) ;
821+ t . strictEqual ( typeof it2 , 'object' , 'returns expected value ' ) ;
822+ t . strictEqual ( typeof it2 . next , 'function' , 'has method' ) ;
823+ t . strictEqual ( typeof it2 . return , 'function' , 'has method' ) ;
824824
825825 for ( i = 0 ; i < 10 ; i ++ ) {
826- t . equal ( it2 . next ( ) . value , it1 . next ( ) . value , 'returns expected value' ) ;
826+ t . strictEqual ( it2 . next ( ) . value , it1 . next ( ) . value , 'returns expected value' ) ;
827827 }
828828 t . end ( ) ;
829829} ) ;
@@ -837,7 +837,7 @@ tape( 'if an environment does not support `Symbol.iterator`, the returned iterat
837837 } ) ;
838838
839839 it = iterPulse ( ) ;
840- t . equal ( it [ iteratorSymbol ] , void 0 , 'does not have property' ) ;
840+ t . strictEqual ( it [ iteratorSymbol ] , void 0 , 'does not have property' ) ;
841841
842842 t . end ( ) ;
843843} ) ;
0 commit comments