fix TypeDef(const Value& val) for Union/UnionA/StructA

This commit is contained in:
Michael Davidsaver
2023-03-20 08:53:10 -07:00
parent 36e537e479
commit abeb78a9cd
2 changed files with 24 additions and 7 deletions
+10 -1
View File
@@ -588,11 +588,19 @@ void testFormat()
);
}
void testAppendBig()
{
auto orig(neckBolt());
TypeDef append(orig);
auto copy(append.create());
testTrue(orig.equalType(copy));
}
} // namespace
MAIN(testtype)
{
testPlan(68);
testPlan(69);
testSetup();
showSize();
testCode();
@@ -603,6 +611,7 @@ MAIN(testtype)
testTypeDefAppendIncremental();
testOp();
testFormat();
testAppendBig();
cleanup_for_valgrind();
return testDone();
}