Files
Nim/tests/stdlib/tunidecode.nim
ringabout 3d2f0e2c7c make more standard libraries work with nimPreviewSlimSystem (#20343)
* make more standard libraries work with `nimPreviewSlimSystem`

* typo

* part two

* Delete specutils.nim

* fixes more tests

* more fixes

* fixes tests

* fixes three more tests

* add formatfloat import

* fix

* last
2022-09-27 20:06:23 +02:00

14 lines
304 B
Nim

discard """
cmd: "nim $target --hints:on -d:embedUnidecodeTable $options $file"
"""
import unidecode
import std/unidecode # #14112
import std/assertions
loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
doAssert unidecode("北京") == "Bei Jing "
doAssert unidecode("Äußerst") == "Ausserst"