@@ -83,7 +83,7 @@ const toAddressInfoAccount = (
8383 } ;
8484} ;
8585
86- describe ( 'counter program' , async ( ) => {
86+ describe ( 'Account data program' , async ( ) => {
8787 const PROGRAM_ID = new PublicKey (
8888 'z7msBPQHDJjTvdQRoEcKyENgXDhSRYeHieN1ZMTqo35' ,
8989 ) ;
@@ -144,9 +144,9 @@ describe('counter program', async () => {
144144 // process the transaction
145145 await client . processTransaction ( tx ) ;
146146
147- // fetch the counter account data
147+ // fetch the account data
148148 const accountInfo = await client . getAccount ( pda ) ;
149- assert ( accountInfo !== null , 'counter account should exist' ) ;
149+ assert ( accountInfo !== null , 'account should exist' ) ;
150150
151151 // deserialize the account data
152152 const rawAccountData = borsh . deserialize (
@@ -165,7 +165,7 @@ describe('counter program', async () => {
165165 ) ;
166166 assert (
167167 accountData . data . house_number === addressInfoData . house_number ,
168- `counter value should be ${ addressInfoData . house_number } but we got ${ accountData . data . house_number } ` ,
168+ `house number should be ${ addressInfoData . house_number } but we got ${ accountData . data . house_number } ` ,
169169 ) ;
170170 assert (
171171 accountData . data . street === addressInfoData . street ,
0 commit comments