Skip to content

Commit

Permalink
Reformat typetag error message
Browse files Browse the repository at this point in the history
  • Loading branch information
xbtmatt committed Oct 11, 2023
1 parent 8ce0ccc commit fb9322a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/type_tag.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ describe("TypeTagParser", () => {
expect(error).toBeInstanceOf(ParsingError);
const typeTagError = error as ParsingError<AddressInvalidReason>;
expect(typeTagError.message).toEqual(
`The given hex string ${typeTag} is a special address not in LONG form,
it must be 0x0 to 0xf without padding zeroes.`,
`The given hex string ${typeTag} is a special address not in LONG form, it must be 0x0 to 0xf without padding zeroes.`,
);
}

Expand Down

0 comments on commit fb9322a

Please sign in to comment.