Skip to content

Commit

Permalink
Remove variable redeclaration warnings from perl test script
Browse files Browse the repository at this point in the history
  • Loading branch information
pd3 committed Dec 7, 2022
1 parent 59f727a commit ccefe6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,11 @@ sub test_bgzip {
passed($opts,$test);

# Round-trip test of text in binary mode
my $test = sprintf('%s %2s threads', 'bgzip text mode round-trip',
$test = sprintf('%s %2s threads', 'bgzip text mode round-trip',
$threads ? $threads : 'no');
print "$test: ";
my $c = "$$opts{bin}/bgzip $at --binary -i -I '$index' < '$data' > '$compressed'";
my ($ret, $out) = _cmd($c);
$c = "$$opts{bin}/bgzip $at --binary -i -I '$index' < '$data' > '$compressed'";
($ret, $out) = _cmd($c);
if ($ret) {
failed($opts, $test, "non-zero exit from $c");
return;
Expand Down

0 comments on commit ccefe6c

Please sign in to comment.