summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files/redundantscope_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkglint/files/redundantscope_test.go')
-rw-r--r--pkgtools/pkglint/files/redundantscope_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/redundantscope_test.go b/pkgtools/pkglint/files/redundantscope_test.go
index 00877d58103..f76606deb9c 100644
--- a/pkgtools/pkglint/files/redundantscope_test.go
+++ b/pkgtools/pkglint/files/redundantscope_test.go
@@ -1525,7 +1525,7 @@ func (s *Suite) Test_RedundantScope_handleVarassign__commented_variable_assignme
func (s *Suite) Test_includePath_includes(c *check.C) {
t := s.Init(c)
- path := func(locations ...string) includePath {
+ path := func(locations ...Path) includePath {
return includePath{locations}
}
@@ -1550,7 +1550,7 @@ func (s *Suite) Test_includePath_includes(c *check.C) {
func (s *Suite) Test_includePath_equals(c *check.C) {
t := s.Init(c)
- path := func(locations ...string) includePath {
+ path := func(locations ...Path) includePath {
return includePath{locations}
}