From d13535471bb75e28b141b09581319216f398b450 Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Tue, 5 Sep 2017 17:42:41 +0300 Subject: Fixed handling of surrogate pairs (#6332) --- lib/pure/json.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/pure') diff --git a/lib/pure/json.nim b/lib/pure/json.nim index e3d5191c6..8c687a8d1 100644 --- a/lib/pure/json.nim +++ b/lib/pure/json.nim @@ -1815,8 +1815,7 @@ when isMainModule: doAssert(testJson["e"]["f"].bval) # make sure UTF-16 decoding works. - when not defined(js): # TODO: The following line asserts in JS - doAssert(testJson["c"].str == "🎃") + doAssert(testJson["c"].str == "🎃") doAssert(testJson["d"].str == "æ") # make sure no memory leek when parsing invalid string -- cgit 1.4.1-2-gfad0 m.submit();'> This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log blame commit diff stats
path: root/tests/manyloc/keineschweine/lib/animations.nim
blob: a021005f042cf645736501f0743734466976be4c (plain) (tree)