diff options
Diffstat (limited to 'tests/stdlib/tunidecode.nim')
-rw-r--r-- | tests/stdlib/tunidecode.nim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/stdlib/tunidecode.nim b/tests/stdlib/tunidecode.nim new file mode 100644 index 000000000..653016ea9 --- /dev/null +++ b/tests/stdlib/tunidecode.nim @@ -0,0 +1,13 @@ +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" |