mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
Turn some test outputs into actual tests
This commit is contained in:
@@ -70,6 +70,5 @@ proc unidecode*(s: string): string =
|
||||
|
||||
when isMainModule:
|
||||
loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
|
||||
when not defined(testing):
|
||||
echo unidecode("Äußerst")
|
||||
assert unidecode("Äußerst") == "Ausserst"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user