aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/index/index_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/index/index_test.go')
-rw-r--r--pkg/index/index_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/index/index_test.go b/pkg/index/index_test.go
index 4e55325..3f9b900 100644
--- a/pkg/index/index_test.go
+++ b/pkg/index/index_test.go
@@ -262,7 +262,8 @@ func TestIndex_ParseOne(t *testing.T) {
path := tt.pathMaker(t)
tt.want.Path = path
- got, gotErr := ParseDoc(path)
+ // TODO: add ParseOpts as test param
+ got, gotErr := ParseDoc(path, ParseOpts{ParseMeta: true})
if !errors.Is(gotErr, tt.wantErr) {
t.Errorf("Recieved unexpected error: want %v got %v", tt.wantErr, gotErr)