make more tests green

This commit is contained in:
Andreas Rumpf 2018-08-14 21:15:03 +02:00
commit 94684488d6
5 changed files with 8 additions and 38 deletions

View file

@ -1869,7 +1869,6 @@ proc entityToUtf8*(entity: string): string =
## "" is returned if the entity name is unknown. The HTML parser
## already converts entities to UTF-8.
runnableExamples:
doAssert entityToUtf8(nil) == ""
doAssert entityToUtf8("") == ""
doAssert entityToUtf8("a") == ""
doAssert entityToUtf8("gt") == ">"