diff --git a/std/encoding.d b/std/encoding.d index 570c2e47a..7ae392d0b 100644 --- a/std/encoding.d +++ b/std/encoding.d @@ -2467,7 +2467,7 @@ do Latin1String ls; // transcode from UTF-16 to ISO-8859-1 transcode(ws, ls); - assert(ws == "hello world"); + assert(ls == "hello world"); } @system pure unittest