diff --git a/test/testtype.cpp b/test/testtype.cpp index b1a5a27..6ea3d30 100644 --- a/test/testtype.cpp +++ b/test/testtype.cpp @@ -492,8 +492,16 @@ void testOp() Value top(neckBolt()); top["scalar.choice->one"] = 42; - (void)top.cloneEmpty(); - (void)top.clone(); + { + auto empty(top.cloneEmpty()); + testFalse(empty.isMarked(true, true)); + } + { + auto clone(top.clone()); + testTrue(clone["scalar.choice"].isMarked()); + clone["scalar.choice->one"] = 43; + } + testEq(top["scalar.choice->one"].as(), 42); } void testFormat() @@ -663,7 +671,7 @@ void testAppendBig() MAIN(testtype) { - testPlan(71); + testPlan(74); testSetup(); showSize(); testCode();