19 lines
365 B
Go
19 lines
365 B
Go
|
// Copyright 2024 The Gitea Authors. All rights reserved.
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
package markup_test
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"testing"
|
||
|
|
||
|
"code.gitea.io/gitea/modules/markup"
|
||
|
"code.gitea.io/gitea/modules/setting"
|
||
|
)
|
||
|
|
||
|
func TestMain(m *testing.M) {
|
||
|
setting.IsInTesting = true
|
||
|
markup.RenderBehaviorForTesting.DisableAdditionalAttributes = true
|
||
|
os.Exit(m.Run())
|
||
|
}
|