From 73733b2833ce54f64bc44c875540bd0c4fc071d4 Mon Sep 17 00:00:00 2001 From: Brian Mendoza Date: Thu, 25 Apr 2024 16:42:59 -0400 Subject: [PATCH] don't pass nil --- mock/mocktest/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mock/mocktest/path.go b/mock/mocktest/path.go index 166e91537..b09a193cf 100644 --- a/mock/mocktest/path.go +++ b/mock/mocktest/path.go @@ -92,7 +92,7 @@ func mkPaths(nodes ...node) paths { return paths{} } - staged, committed := rPaths(nil, nil, nodes) + staged, committed := rPaths(paths{}, paths{}, nodes) if len(staged) > 0 { panic(errors.New("unresolved path detected")) }