unless( exists $expected_genealogical{$row->{'id'}} ) {
$expected_genealogical{$row->{'id'}} = 1;
}
- is( $row->{'genealogical'}, $expected_genealogical{$row->{'id'}},
+ my $gen_bool = $row->{'genealogical'} ? 1 : 0;
+ is( $gen_bool, $expected_genealogical{$row->{'id'}},
"Got correct genealogical flag for row " . $row->{'id'} );
# Check that we have the right row with the right groups
my $rank = $row->{'id'};