@@ -42,7 +42,7 @@ describe('Mapper', function () {
4242 const values = await mapper . map ( 'MetaCoin' , deployedAddress , {
4343 bytes32Example : 'bytes32ExampleNewName' ,
4444 addressExample : {
45- key : 'addressExampleNewName ' ,
45+ key : 'addressExampleAsLowerCase ' ,
4646 transform : val => val . toLowerCase ( ) ,
4747 } ,
4848 uintExample : [
@@ -59,7 +59,7 @@ describe('Mapper', function () {
5959 chai . expect ( values ) . to . have . property ( 'bytes32ExampleNewName' , 'bytes 32 example' ) ;
6060
6161 chai . expect ( values ) . to . not . have . property ( 'addressExample' ) ;
62- chai . expect ( values ) . to . have . property ( 'addressExampleNewName ' , '0xab5801a7d398351b8be11c439e05c5b3259aec9b' ) ;
62+ chai . expect ( values ) . to . have . property ( 'addressExampleAsLowerCase ' , '0xab5801a7d398351b8be11c439e05c5b3259aec9b' ) ;
6363
6464 chai . expect ( values ) . to . not . have . property ( 'uintExample' ) ;
6565 chai . expect ( values . uintExampleNewName1 ) . to . be . a . bignumber . that . equals ( new BN ( '100' ) ) ;
@@ -96,7 +96,7 @@ describe('Mapper({ provider })', function () {
9696 const values = await mapper . map ( 'MetaCoin' , deployedAddress , {
9797 bytes32Example : 'bytes32ExampleNewName' ,
9898 addressExample : {
99- key : 'addressExampleNewName ' ,
99+ key : 'addressExampleAsLowerCase ' ,
100100 transform : val => val . toLowerCase ( ) ,
101101 } ,
102102 uintExample : [
@@ -113,7 +113,7 @@ describe('Mapper({ provider })', function () {
113113 chai . expect ( values ) . to . have . property ( 'bytes32ExampleNewName' , 'bytes 32 example' ) ;
114114
115115 chai . expect ( values ) . to . not . have . property ( 'addressExample' ) ;
116- chai . expect ( values ) . to . have . property ( 'addressExampleNewName ' , '0xab5801a7d398351b8be11c439e05c5b3259aec9b' ) ;
116+ chai . expect ( values ) . to . have . property ( 'addressExampleAsLowerCase ' , '0xab5801a7d398351b8be11c439e05c5b3259aec9b' ) ;
117117
118118 chai . expect ( values ) . to . not . have . property ( 'uintExample' ) ;
119119 chai . expect ( values . uintExampleNewName1 ) . to . be . a . bignumber . that . equals ( new BN ( '100' ) ) ;
0 commit comments