summaryrefslogtreecommitdiff
path: root/indexers/pikdex/hydrate_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 /indexers/pikdex/hydrate_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 'indexers/pikdex/hydrate_test.go')
-rw-r--r--indexers/pikdex/hydrate_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/indexers/pikdex/hydrate_test.go b/indexers/pikdex/hydrate_test.go
index ba5e1bc..cd2433a 100644
--- a/indexers/pikdex/hydrate_test.go
+++ b/indexers/pikdex/hydrate_test.go
@@ -3,6 +3,7 @@
package pikdex
import (
+ "github.com/ewy1/pik/model"
"github.com/ewy1/pik/runner"
"github.com/stretchr/testify/assert"
"testing"
@@ -11,7 +12,7 @@ import (
func TestHydrate(t *testing.T) {
aliases := []string{"alias1", "alias2"}
p := pikdex{
- mods: map[string]*SourceData{
+ Data: map[string]*model.SourceData{
"asdf": {
Aliases: aliases,
Icon: "I",