2024-05-30 07:04:01 +00:00
|
|
|
// Copyright 2024 The Gitea Authors. All rights reserved.
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
package markup_test
|
|
|
|
|
|
|
|
import (
|
2024-11-24 08:18:57 +00:00
|
|
|
"os"
|
2024-05-30 07:04:01 +00:00
|
|
|
"testing"
|
|
|
|
|
2024-11-24 08:18:57 +00:00
|
|
|
"code.gitea.io/gitea/modules/markup"
|
|
|
|
"code.gitea.io/gitea/modules/setting"
|
2024-05-30 07:04:01 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestMain(m *testing.M) {
|
2024-11-24 08:18:57 +00:00
|
|
|
setting.IsInTesting = true
|
|
|
|
markup.RenderBehaviorForTesting.DisableAdditionalAttributes = true
|
|
|
|
os.Exit(m.Run())
|
2024-05-30 07:04:01 +00:00
|
|
|
}
|