move tests to testament (#16101)
* move tests to testament * minor * fix random * disable test random
This commit is contained in:
parent
d306a04466
commit
cbc793b30b
1 changed files with 2205 additions and 2232 deletions
5
tests/stdlib/tpunycode.nim
Normal file
5
tests/stdlib/tpunycode.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import punycode
|
||||
|
||||
assert(decode(encode("", "bücher")) == "bücher")
|
||||
assert(decode(encode("münchen")) == "münchen")
|
||||
assert encode("xn--", "münchen") == "xn--mnchen-3ya"
|
||||
Loading…
Reference in a new issue