Skip to content

Commit

Permalink
tests: add a simple URL canonicalization test
Browse files Browse the repository at this point in the history
https://ex%61mple.com/h%61s/?wh%61t => https://example.com/has/?what
  • Loading branch information
bagder committed Aug 27, 2024
1 parent 663af4f commit 2b3a1d2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -2690,5 +2690,17 @@
"stderr": "",
"returncode": 0
}
},
{
"input": {
"arguments": [
"https://ex%61mple.com/h%61s/?wh%61t"
]
},
"expected": {
"stdout": "https://example.com/has/?what\n",
"stderr": "",
"returncode": 0
}
}
]

0 comments on commit 2b3a1d2

Please sign in to comment.