summary refs log tree commit diff stats
path: root/tests/stdlib/tunidecode.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/tunidecode.nim')
-rw-r--r--tests/stdlib/tunidecode.nim9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/stdlib/tunidecode.nim b/tests/stdlib/tunidecode.nim
index 689453c76..653016ea9 100644
--- a/tests/stdlib/tunidecode.nim
+++ b/tests/stdlib/tunidecode.nim
@@ -1,12 +1,13 @@
 discard """
   cmd: "nim $target --hints:on -d:embedUnidecodeTable $options $file"
-  output: "Ausserst"
 """
 
 import unidecode
 
-loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
+import std/unidecode # #14112
+import std/assertions
 
-#assert unidecode("\x53\x17\x4E\xB0") == "Bei Jing"
-echo unidecode("Äußerst")
+loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
 
+doAssert unidecode("北京") == "Bei Jing "
+doAssert unidecode("Äußerst") == "Ausserst"