summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2020-11-27 12:41:22 +0800
committerGitHub <noreply@github.com>2020-11-27 12:41:22 +0800
commit6b77e16c6f86e5c05795fe881a25be3d17e9c22a (patch)
treed62f55cd3e7926e32a88b648adba67a249cc19ba
parentc0215d8d0dcefaf963f6138e4fcf48dee8ef0199 (diff)
downloadNim-6b77e16c6f86e5c05795fe881a25be3d17e9c22a.tar.gz
tunidecode minor improvement (#16157)
-rw-r--r--tests/stdlib/tunidecode.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/stdlib/tunidecode.nim b/tests/stdlib/tunidecode.nim
index 7784fffb4..be8e0523c 100644
--- a/tests/stdlib/tunidecode.nim
+++ b/tests/stdlib/tunidecode.nim
@@ -1,6 +1,5 @@
 discard """
   cmd: "nim $target --hints:on -d:embedUnidecodeTable $options $file"
-  output: "Ausserst"
 """
 
 import unidecode
@@ -9,5 +8,5 @@ import std/unidecode # #14112
 
 loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
 
-# assert unidecode("\x53\x17\x4E\xB0") == "Bei Jing"
-echo unidecode("Äußerst")
+doAssert unidecode("北京") == "Bei Jing "
+doAssert unidecode("Äußerst") == "Ausserst"