Przeglądaj źródła

Clean up release/author test issues, make v29 WIP dist

George S. Baugh 10 lat temu
rodzic
commit
6e94f2d507

+ 1 - 1
bin/testrail-bulk-mark-results

@@ -165,7 +165,7 @@ my ($status_id) = $tr->statusNamesToIds($status);
         'status_id' => $status_id,
         'comment'   => $reason,
         'version'   => $opts{'version'}
-    }    
+    }
 } @$cases;
 
 my $results = $tr->bulkAddResults($run->{'id'},$cases);

BIN
dist/TestRail-API-0.028.tar.gz


+ 1 - 1
lib/Test/Rail/Parser.pm

@@ -553,7 +553,7 @@ sub _test_closure {
     return unless $self->{'tr_opts'}->{'autoclose'};
     my $is_plan = $self->{'tr_opts'}->{'plan'} ? 1 : 0;
     my $id      = $self->{'tr_opts'}->{'plan'} ? $self->{'tr_opts'}->{'plan'}->{'id'} : $self->{'tr_opts'}->{'run'};
-  
+
     if ($is_plan) {
         my $plan_summary = $self->{'tr_opts'}->{'testrail'}->getPlanSummary($id);
 

+ 1 - 1
lib/TestRail/API.pm

@@ -1876,7 +1876,7 @@ Returns ARRAYREF of test definition HASHREFs.
 =cut
 
 sub getTests {
-    my ($self,$run_id,$status_ids,$assignedto_ids,$section_ids) = @_;
+    my ($self,$run_id,$status_ids,$assignedto_ids) = @_;
     confess("Object methods must be called by an instance") unless ref($self);
     confess("Run ID must be integer") unless $self->_checkInteger($run_id);
     confess("Status IDs must be ARRAYREF") unless !defined($status_ids) || ( reftype($status_ids) || 'undef' ) eq 'ARRAY';

+ 1 - 1
lib/TestRail/Utils.pm

@@ -108,7 +108,7 @@ sub getFilenameFromTapLine {
     return 0 if $dotty =~ /\d/; #Apparently looking for literal dots returns numbers too. who knew?
     chomp $dotty;
     my $line = join(' ',@process_split);
-    
+
     #IF it ends in a bunch of dots
     #AND it isn't an ok/not ok
     #AND it isn't a comment