Fix problem in groups QA test

The items should always be added to the group.
This commit is contained in:
Ian McInerney 2020-09-16 10:50:59 +01:00
parent c8879d9034
commit 4ca103c82c
1 changed files with 1 additions and 3 deletions

View File

@ -122,9 +122,7 @@ std::unique_ptr<BOARD> createBoard( const std::vector<std::vector<ItemType>>& sp
for( ItemType item : groupSpec )
{
used.set( static_cast<size_t>( item ) );
if( item != REMOVED_TEXT || item != REMOVED_GROUP )
group->AddItem( items[item] );
group->AddItem( items[item] );
}
BOOST_CHECK_EQUAL( group->GetItems().size(), groupSpec.size() );