[BACK]Return to redundantscope_test.go CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint / files

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/pkgtools/pkglint/files/redundantscope_test.go between version 1.6 and 1.7

version 1.6, 2019/07/14 21:25:47 version 1.7, 2019/11/17 01:26:25
Line 1427  func (s *Suite) Test_RedundantScope__pro
Line 1427  func (s *Suite) Test_RedundantScope__pro
         t.CheckOutputEmpty()          t.CheckOutputEmpty()
 }  }
   
 // Branch coverage for info.vari.Constant(). The other tests typically  // Branch coverage for info.vari.IsConstant(). The other tests typically
 // make a variable non-constant by adding conditional assignments between  // make a variable non-constant by adding conditional assignments between
 // .if/.endif. But there are other ways. The output of shell commands is  // .if/.endif. But there are other ways. The output of shell commands is
 // unpredictable for pkglint (as of March 2019), therefore it treats these  // unpredictable for pkglint (as of March 2019), therefore it treats these
Line 1449  func (s *Suite) Test_RedundantScope_hand
Line 1449  func (s *Suite) Test_RedundantScope_hand
         t.CheckOutputEmpty()          t.CheckOutputEmpty()
 }  }
   
 func (s *Suite) Test_RedundantScope__overwrite_definition_from_included_file(c *check.C) {  func (s *Suite) Test_RedundantScope_handleVarassign__overwrite_definition_from_included_file(c *check.C) {
         t := s.Init(c)          t := s.Init(c)
   
         include, get := t.SetUpHierarchy()          include, get := t.SetUpHierarchy()
Line 1504  func (s *Suite) Test_RedundantScope_hand
Line 1504  func (s *Suite) Test_RedundantScope_hand
 }  }
   
 // Ensures that commented variables do not influence the redundancy check.  // Ensures that commented variables do not influence the redundancy check.
 func (s *Suite) Test_RedundantScope__commented_variable_assignment(c *check.C) {  func (s *Suite) Test_RedundantScope_handleVarassign__commented_variable_assignment(c *check.C) {
         t := s.Init(c)          t := s.Init(c)
   
         include, get := t.SetUpHierarchy()          include, get := t.SetUpHierarchy()

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

CVSweb <webmaster@jp.NetBSD.org>