Skip to content

Commit

Permalink
Add another test for fromBase64 (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo authored Dec 7, 2021
1 parent 870ff90 commit 1618f1c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ describe('Utils', () => {
input: 'aGVsbG8==',
expected: 'hello',
},
{
name: 'decodes semi-padded',
input: 'aGVsbG8=',
expected: 'hello',
},
];

cases.forEach((tc) => {
Expand Down

0 comments on commit 1618f1c

Please sign in to comment.