Skip to content

Commit

Permalink
test: fix error message expected
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottyPoi committed Feb 6, 2024
1 parent aec30ae commit 60d7755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/portalnetwork/test/util/trieNodeId.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('tightly pack nibbles', () => {
tightlyPackNibbles(looseNibbles(testCases[7]))
assert.fail('should throw')
} catch (err: any) {
assert.equal(err.message, 'path must be an array of nibbles')
assert.equal(err.message, `path: [${looseNibbles(testCases[7])}] must be an array of nibbles`)
}
})
})

0 comments on commit 60d7755

Please sign in to comment.