Skip to content

Commit

Permalink
fix pre and post upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed May 28, 2024
1 parent a088bfa commit deedccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/pre_and_post_upgrade/test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function getTests(
name: 'getEntries',
test: async () => {
const result = await preAndPostUpgradeCanister.getEntries();
const expected = { '0': 0n };
const expected = { key: '0', value: 0n };

return testEquality(result, [expected]);
}
Expand All @@ -48,7 +48,7 @@ export function getTests(
name: 'getEntries',
test: async () => {
const result = await preAndPostUpgradeCanister.getEntries();
const expected = { '0': 1n };
const expected = { key: '0', value: 1n };

return testEquality(result, [expected]);
}
Expand Down

0 comments on commit deedccc

Please sign in to comment.