mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-17 06:21:18 +00:00
got rid of 'accept' dir in the tests
This commit is contained in:
12
tests/run/tunidecode.nim
Normal file
12
tests/run/tunidecode.nim
Normal file
@@ -0,0 +1,12 @@
|
||||
discard """
|
||||
cmd: "nimrod cc --hints:on -d:embedUnidecodeTable $# $#"
|
||||
output: "Ausserst"
|
||||
"""
|
||||
|
||||
import unidecode
|
||||
|
||||
loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
|
||||
|
||||
assert unidecode("\x53\x17\x4E\xB0") == "Bei Jing"
|
||||
echo unidecode("Äußerst")
|
||||
|
||||
Reference in New Issue
Block a user