Skip to content

Commit e3fbc56

Browse files
committed
fix tests that were failing due to bad assumptions
1 parent 273b00b commit e3fbc56

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/gtest_factory.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static const char* xml_text_subtree_part1 = R"(
8282
<BehaviorTree ID="MainTree">
8383
<Fallback name="root_selector">
8484
<SubTree ID="DoorClosedSubtree" />
85-
<Action ID="PassThroughWindow" />
85+
<Action ID="PassThroughDoor" />
8686
</Fallback>
8787
</BehaviorTree>
8888
</root> )";
@@ -93,11 +93,10 @@ static const char* xml_text_subtree_part2 = R"(
9393
<BehaviorTree ID="DoorClosedSubtree">
9494
<Sequence name="door_sequence">
9595
<Decorator ID="Inverter">
96-
<Action ID="IsDoorLocked" />
96+
<Action ID="IsDoorClosed" />
9797
</Decorator>
9898
<Action ID="OpenDoor" />
9999
<Action ID="PassThroughDoor" />
100-
<Action ID="CloseDoor" />
101100
</Sequence>
102101
</BehaviorTree>
103102
</root> )";

0 commit comments

Comments
 (0)