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