summaryrefslogtreecommitdiff
path: root/cache/cache_test.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-06-02 15:07:59 +0200
committerewy <ewy0@protonmail.com>2026-06-02 15:07:59 +0200
commitf77fc4ef5f2df96c6bba3cd6c7d88a77d61a5a80 (patch)
treebdead2d2b245407aaa20e71c433d7c8f757d7049 /cache/cache_test.go
parent6d607f114f63184a43237a3ff80aee622401ee23 (diff)
add .wants and .includesHEADmaster
.wants adds potential out-of-tree sources to your state (for monorepos, for example) .includes adds targets from another source to this one, adding inheritance
Diffstat (limited to 'cache/cache_test.go')
-rw-r--r--cache/cache_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/cache_test.go b/cache/cache_test.go
index a58bf95..59d4269 100644
--- a/cache/cache_test.go
+++ b/cache/cache_test.go
@@ -227,7 +227,7 @@ func TestInsertNonExistent(t *testing.T) {
func TestLoadState(t *testing.T) {
paths.SetAll("/pik")
defer paths.Reset()
- c := &Cache{
+ c := Cache{
Entries: []Entry{
{Path: "/asdf", Label: "hjkl"},
},