move tests to testament (#16101)
* move tests to testament * minor * fix random * disable test random
This commit is contained in:
parent
d306a04466
commit
cbc793b30b
56 changed files with 2205 additions and 2232 deletions
|
|
@ -66,8 +66,3 @@ proc unidecode*(s: string): string =
|
|||
var c = int(r)
|
||||
if c <=% 127: add(result, chr(c))
|
||||
elif c <% translationTable.len: add(result, translationTable[c-128])
|
||||
|
||||
when isMainModule:
|
||||
#loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
|
||||
doAssert unidecode("Äußerst") == "Ausserst"
|
||||
doAssert unidecode("北京") == "Bei Jing "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue