fix TypeDef(const Value& val) for Union/UnionA/StructA
This commit is contained in:
1 parent
36e537e479
commit
abeb78a9cd
2 files changed
+24
-7
No files matched your search
+10
-1
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user