Fix problem in groups QA test
The items should always be added to the group.
This commit is contained in:
parent
c8879d9034
commit
4ca103c82c
|
@ -122,9 +122,7 @@ std::unique_ptr<BOARD> createBoard( const std::vector<std::vector<ItemType>>& sp
|
||||||
for( ItemType item : groupSpec )
|
for( ItemType item : groupSpec )
|
||||||
{
|
{
|
||||||
used.set( static_cast<size_t>( item ) );
|
used.set( static_cast<size_t>( item ) );
|
||||||
|
group->AddItem( items[item] );
|
||||||
if( item != REMOVED_TEXT || item != REMOVED_GROUP )
|
|
||||||
group->AddItem( items[item] );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_CHECK_EQUAL( group->GetItems().size(), groupSpec.size() );
|
BOOST_CHECK_EQUAL( group->GetItems().size(), groupSpec.size() );
|
||||||
|
|
Loading…
Reference in New Issue