Skip to content

Commit

Permalink
get FTLocFac working
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Fields committed Jan 10, 2014
1 parent b01886e commit a9c0280
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Biome/Factory/FTLocationFactory.pm
Expand Up @@ -84,7 +84,7 @@ sub from_string {
$loc_obj = $self->_parse_range($splitlocs[0]);
$loc_obj->strand(-1);
} else {
$loc_obj = $LOC_CLASS->new(-location_type => uc $oparg);
$loc_obj = $LOC_CLASS->new(location_type => uc $oparg);
my @loc_objs = map {
my $sobj;
if (m{\(($LOCREG)\)}) {
Expand Down
2 changes: 1 addition & 1 deletion t/Factory/FTLocationFactory.t
Expand Up @@ -117,7 +117,7 @@ my %testcases = (
=> [0, undef, undef, 'EXACT', undef, undef, 'EXACT', 'ORDER', 3, 0, undef],
);

my $locfac = Biome::Factory::FTLocationFactory->new(-verbose => 1);
my $locfac = Biome::Factory::FTLocationFactory->new(verbose => 1);

# sorting is to keep the order constant from one run to the next
foreach my $locstr (keys %testcases) {
Expand Down

0 comments on commit a9c0280

Please sign in to comment.