[BACK]Return to path_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/path_test.go between version 1.5 and 1.6

version 1.5, 2019/12/08 00:06:38 version 1.6, 2019/12/08 22:03:38
Line 87  func (s *Suite) Test_Path_DirNoClean(c *
Line 87  func (s *Suite) Test_Path_DirNoClean(c *
         test("filename", ".")          test("filename", ".")
         test("dir/filename", "dir")          test("dir/filename", "dir")
         test("dir/filename\\with\\backslash", "dir")          test("dir/filename\\with\\backslash", "dir")
           test("dir/./file", "dir")
           test("./file", ".")
 }  }
   
 func (s *Suite) Test_Path_Base(c *check.C) {  func (s *Suite) Test_Path_Base(c *check.C) {
Line 427  func (s *Suite) Test_Path_CleanDot(c *ch
Line 429  func (s *Suite) Test_Path_CleanDot(c *ch
         test("", "")          test("", "")
         test(".", ".")          test(".", ".")
         test("./././", ".")          test("./././", ".")
           test("dir/", "dir/") // TODO: Or maybe "dir/."?
         test("a/bb///../c", "a/bb/../c")          test("a/bb///../c", "a/bb/../c")
         test("./filename", "filename")          test("./filename", "filename")
         test("/absolute", "/absolute")          test("/absolute", "/absolute")

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

CVSweb <webmaster@jp.NetBSD.org>