bab29a83fa
Sweep all .go imports + go.mod, plus module-path refs in .golangci.yml, Dockerfile, swagger templates, locale example, and repo/wiki URLs (MokoGitea-Fork -> MokoGIT). Part of the MokoGIT rebrand. Claude-Session: https://claude.ai/code/session_01Bqe7fAuHQeiLueYfeHFrHw
21 lines
509 B
Go
21 lines
509 B
Go
// Copyright 2024 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package markup_test
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"code.mokoconsulting.tech/MokoConsulting/MokoGIT/modules/markup"
|
|
"code.mokoconsulting.tech/MokoConsulting/MokoGIT/modules/setting"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
setting.IsInTesting = true
|
|
markup.RenderBehaviorForTesting.DisableAdditionalAttributes = true
|
|
setting.Markdown.FileNamePatterns = []string{"*.md"}
|
|
markup.RefreshFileNamePatterns()
|
|
os.Exit(m.Run())
|
|
}
|