mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 00:07:52 +01:00
015efcd8bf
Use a `gitrepo.Repository` in the markup's RenderContext but not store the repository's path.
15 lines
229 B
Go
15 lines
229 B
Go
// Copyright 2024 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package markup_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"code.gitea.io/gitea/models/unittest"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
unittest.MainTest(m)
|
|
}
|