aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/index/index_test.go
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-05-04 18:23:44 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-05-04 18:23:44 -0400
commit3e533e65f1baf26355675cfe244fd4da64e8807c (patch)
tree3c8a752644ed4da1f0bf64ce3e049cac3775e646 /pkg/index/index_test.go
parent37a96c43f6df141dc745f239891f4163b8870c02 (diff)
Add names to doc fitlers
Diffstat (limited to 'pkg/index/index_test.go')
-rw-r--r--pkg/index/index_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/index/index_test.go b/pkg/index/index_test.go
index ed7e550..4bf49e3 100644
--- a/pkg/index/index_test.go
+++ b/pkg/index/index_test.go
@@ -262,9 +262,9 @@ func TestIndex_ParseOne(t *testing.T) {
path := tt.pathMaker(t)
tt.want.Path = path
- got, gotErr := Index{}.ParseOne(path)
+ got, gotErr := ParseDoc(path)
- if !errors.Is(gotErr,tt.wantErr) {
+ if !errors.Is(gotErr, tt.wantErr) {
t.Errorf("Recieved unexpected error: want %v got %v", tt.wantErr, gotErr)
} else if gotErr != nil {
return