FieldBuilder: typo addNested() -> endNested()

This commit is contained in:
Matej Sekoranja
2013-11-26 13:45:30 +01:00
parent f9135c81de
commit 29dee42d34
4 changed files with 17 additions and 17 deletions

View File

@@ -196,7 +196,7 @@ void testEquals() {
setId("nestedId")->
add("short", pvShort)->
add("long", pvLong)->
addNested()->
endNested()->
addArray("intArray", pvInt)->
createUnion();
PVUnionPtr union1 = factory->createPVUnion(punion);
@@ -690,7 +690,7 @@ void testIntrospectionSerialization()
setId("nestedId")->
add("short", pvShort)->
add("long", pvLong)->
addNested()->
endNested()->
addArray("intArray", pvInt)->
createUnion();
serializatioTest(punion);