diff options
author | rillig <rillig@pkgsrc.org> | 2020-06-01 20:49:54 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-06-01 20:49:54 +0000 |
commit | 05d76c3982a4aaf6ced2f7744f7043f9f4e6e4ac (patch) | |
tree | 119ec105dd83c8cf4e64fa8b9a0cb9858163627a /pkgtools/pkglint/files/path_test.go | |
parent | 67f2e52979de3b4cd3050e4b462bddf771386c34 (diff) | |
download | pkgsrc-05d76c3982a4aaf6ced2f7744f7043f9f4e6e4ac.tar.gz |
pkgtools/pkglint: update to 20.1.12
Changes since 20.1.11:
The file bsd.pkg.mk must only ever be included by package Makefiles
directly, not by other Makefile fragments. Seen in www/w3m.
The variable BUILDLINK_PREFIX.* should only be used for packages that
have actually been included by the package. This catches the use of
BUILDLINK_PREFIX.libiconv, which should have been iconv instead.
Allow comments before line 3 in buildlink3.mk files. This is necessary
for mariadb55-client since its buildlink identifier is mysql-client,
which is so non-obvious that it needs to be documented.
Diffstat (limited to 'pkgtools/pkglint/files/path_test.go')
-rw-r--r-- | pkgtools/pkglint/files/path_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/files/path_test.go b/pkgtools/pkglint/files/path_test.go index e5dda345daa..4f2928a7d06 100644 --- a/pkgtools/pkglint/files/path_test.go +++ b/pkgtools/pkglint/files/path_test.go @@ -77,7 +77,7 @@ func (s *Suite) Test_Path_Dir(c *check.C) { func (s *Suite) Test_Path_Base(c *check.C) { t := s.Init(c) - test := func(p Path, base string) { + test := func(p Path, base RelPath) { t.CheckEquals(p.Base(), base) } @@ -615,7 +615,7 @@ func (s *Suite) Test_CurrPath_Dir(c *check.C) { func (s *Suite) Test_CurrPath_Base(c *check.C) { t := s.Init(c) - test := func(curr CurrPath, base string) { + test := func(curr CurrPath, base RelPath) { t.CheckEquals(curr.Base(), base) } @@ -1104,7 +1104,7 @@ func (s *Suite) Test_PkgsrcPath_Dir(c *check.C) { func (s *Suite) Test_PkgsrcPath_Base(c *check.C) { t := s.Init(c) - test := func(pp PkgsrcPath, base string) { + test := func(pp PkgsrcPath, base RelPath) { t.CheckEquals(pp.Base(), base) } @@ -1347,7 +1347,7 @@ func (s *Suite) Test_RelPath_Dir(c *check.C) { func (s *Suite) Test_RelPath_Base(c *check.C) { t := s.Init(c) - test := func(rel RelPath, base string) { + test := func(rel RelPath, base RelPath) { t.CheckEquals(rel.Base(), base) } |