Skip to content

Commit

Permalink
Handle conflict from go-gitea#20987
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Thornton <art27@cantab.net>
  • Loading branch information
zeripath committed Sep 3, 2022
1 parent 606ff7e commit 3b361e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/markup/markdown/meta_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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))
})
}

Expand Down

0 comments on commit 3b361e2

Please sign in to comment.