This repository was archived by the owner on Apr 22, 2025. It is now read-only.
Commit 9c20060
committed
chore: Fix urlsafe_base64/1 generation
The test assumes 22 byte default, but had 32 because it was double-base64 encoding (once
regular, and once URL-safe). Without the double encoding, the tests fail because they were
expecting 32 (then 24), but the intent was URL-safe base encoding without padding.
Originally based on patricksrobertson#13, but fixes the tests and
padding.1 parent 291edd5 commit 9c20060
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments