// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package main import ( "testing" "github.com/stretchr/testify/assert" ) func TestLocalizationPolicy(t *testing.T) { initBlueMondayPolicy() initRemoveTags() t.Run("Remove tags", func(t *testing.T) { assert.Empty(t, checkLocaleContent([]byte(`hidden_comment_types_description = Comment types checked here will not be shown inside issue pages. Checking "Label" for example removes all " added/removed