DEVTOOLS: COMPANION: Added one more test for encoding

This commit is contained in:
Eugene Sandulenko 2021-10-31 16:37:11 +02:00
parent b9c5ef933f
commit dfd34fc163
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -531,6 +531,7 @@ def test_decode_name():
["ends with dot .", "xn--ends with dot .-"],
["ends with space ", "xn--ends with space -"],
["バッドデイ(Power PC)", "xn--(Power PC)-jx4ilmwb1a7h"],
["Hello*", "xn--Hello-la10a"],
]
for input, output in checks:
assert punyencode(input) == output