From a29ddda12eebe8ebdf4b50d7af72725f127c6546 Mon Sep 17 00:00:00 2001 From: Jeff Lawson Date: Thu, 18 Jan 2024 23:58:39 +0000 Subject: [PATCH] add unit test from PR#39 --- tests/dict.test | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests/dict.test b/tests/dict.test index b8694a6..ee53fde 100755 --- a/tests/dict.test +++ b/tests/dict.test @@ -142,6 +142,25 @@ namespace eval ::yajl::test { } }} } -result 1 + + + test 1.08 {: boolean example from PR#39 + } -body { + dotest {{ + "valueTrue":true, + "valueFalse":false, + "x":"true", + "y":false, + "a":{ + "b":1, + "c":"true", + "d":{ + "p":false + } + } + }} + } -result 1 + } cleanupTests