We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 606ff7e commit 3b361e2Copy full SHA for 3b361e2
modules/markup/markdown/meta_test.go
@@ -63,7 +63,7 @@ func TestExtractMetadataBytes(t *testing.T) {
63
assert.NoError(t, err)
64
assert.Equal(t, bodyTest, body)
65
assert.Equal(t, metaTest, meta)
66
- assert.True(t, meta.Valid())
+ assert.True(t, validateMetadata(meta))
67
})
68
69
t.Run("NoFirstSeparator", func(t *testing.T) {
@@ -84,7 +84,7 @@ func TestExtractMetadataBytes(t *testing.T) {
84
85
assert.Equal(t, "", body)
86
87
88
89
}
90
0 commit comments