Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
robertohuertasm committed Oct 20, 2024
1 parent 4e4d1cc commit 8c84fb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions basics/account-data/steel/tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const toAddressInfoAccount = (
};
};

describe('counter program', async () => {
describe('Account data program', async () => {
const PROGRAM_ID = new PublicKey(
'z7msBPQHDJjTvdQRoEcKyENgXDhSRYeHieN1ZMTqo35',
);
Expand Down Expand Up @@ -144,9 +144,9 @@ describe('counter program', async () => {
// process the transaction
await client.processTransaction(tx);

// fetch the counter account data
// fetch the account data
const accountInfo = await client.getAccount(pda);
assert(accountInfo !== null, 'counter account should exist');
assert(accountInfo !== null, 'account should exist');

// deserialize the account data
const rawAccountData = borsh.deserialize(
Expand All @@ -165,7 +165,7 @@ describe('counter program', async () => {
);
assert(
accountData.data.house_number === addressInfoData.house_number,
`counter value should be ${addressInfoData.house_number} but we got ${accountData.data.house_number}`,
`house number should be ${addressInfoData.house_number} but we got ${accountData.data.house_number}`,
);
assert(
accountData.data.street === addressInfoData.street,
Expand Down

0 comments on commit 8c84fb1

Please sign in to comment.