From 3b361e2a22fe940130c62badab2923f55e24fc83 Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Sat, 3 Sep 2022 08:57:42 +0100 Subject: [PATCH] Handle conflict from #20987 Signed-off-by: Andrew Thornton --- modules/markup/markdown/meta_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/markup/markdown/meta_test.go b/modules/markup/markdown/meta_test.go index 6e864a0c38b48..9332b35b42782 100644 --- a/modules/markup/markdown/meta_test.go +++ b/modules/markup/markdown/meta_test.go @@ -63,7 +63,7 @@ func TestExtractMetadataBytes(t *testing.T) { assert.NoError(t, err) assert.Equal(t, bodyTest, body) assert.Equal(t, metaTest, meta) - assert.True(t, meta.Valid()) + assert.True(t, validateMetadata(meta)) }) t.Run("NoFirstSeparator", func(t *testing.T) { @@ -84,7 +84,7 @@ func TestExtractMetadataBytes(t *testing.T) { assert.NoError(t, err) assert.Equal(t, "", body) assert.Equal(t, metaTest, meta) - assert.True(t, meta.Valid()) + assert.True(t, validateMetadata(meta)) }) }