You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: footnote_test.go
    path of file: ./repos/gitea/modules/markup/common
    
    the code of the file until where you have to start completion: // Copyright 2023 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package common

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestCleanValue(t *testing.T) {
	tests := []struct {
		param  string
		expect string
	}{
		// Github behavior test cases
		{"", ""},
		{"test(0)", "test0"},
		{"test!1", "test1"},
		{"test:2", "test2"},
		{"test*3", "test3"},
		{"testï¼4", "test4"},
		{"testï¼š5", "test5"},
		{"test*6", "test6"},
		{"testï¼š6 a", "test6-a"},
		{"testï¼š6 !b", "test6-b"},
		{"testï¼šad # df", "testad--df"},
		{"testï¼šad #23 df 2*/*", "testad-23-df-2"},
		{"testï¼šad 23 df 2*/*", "testad-23-df-2"},
		{"testï¼šad # 23 df 2*/*", "testad--23-df-2"},
		{"Anchors in Markdown", "anchors-in-markdown"},
		{"a_b_c", "a_b_c"},
		{"a-b-c", "a-b-c"},
		{"a-b-c----", "a-b-c----"},
		{"testï¼š6a", "test6a"},
		{"testï¼ša6", "testa6"},
		{"tes a a   a  a", "tes-a-a---a--a"},
		{"  tes a a   a  a  ", "tes-a-a---a--a"},
		{"Header with \"double quotes\"", "header-with-double-quotes"},
		{"Placeholder to force scrolling on link's click", "placeholder-to-force-scrolling-on-links-click"},
		{"tesï¼ˆï¼‰", "tes"},
		
    
func TestCleanValue(t *testing.T) {
	tests := []struct {
		param  string
		expect string
	}{
		// Github behavior test cases
		{"", ""},
		{"test(0)", "test0"},
		{"test!1", "test1"},
		{"test:2", "test2"},
		{"test*3", "test3"},
		{"testï¼4", "test4"},
		{"testï¼š5", "test5"},
		{"test*6", "test6"},
		{"testï¼š6 a", "test6-a"},
		{"testï¼š6 !b", "test6-b"},
		{"testï¼šad # df", "testad--df"},
		{"testï¼šad #23 df 2*/*", "testad-23-df-2"},
		{"testï¼šad 23 df 2*/*", "testad-23-df-2"},
		{"testï¼šad # 23 df 2*/*", "testad--23-df-2"},
		{"Anchors in Markdown", "anchors-in-markdown"},
		{"a_b_c", "a_b_c"},
		{"a-b-c", "a-b-c"},
		{"a-b-c----", "a-b-c----"},
		{"testï¼š6a", "test6a"},
		{"testï¼ša6", "testa6"},
		{"tes a a   a  a", "tes-a-a---a--a"},
		{"  tes a a   a  a  ", "tes-a-a---a--a"},
		{"Header with \"double quotes\"", "header-with-double-quotes"},
		{"Placeholder to force scrolling on link's click", "placeholder-to-force-scrolling-on-links-click"},
		{"tesï¼ˆï¼‰", "tes"},
		{"tesï¼ˆ0ï¼‰", "tes0"},
		{"tes{0}", "tes0"},
		{"tes[0]", "tes0"},
		{"testã€0ã€‘", "test0"},
		{"tesâ€¦@a", "tesa"},
		{"tesï¿¥& a", "tes-a"},
		{"tes= a", "tes-a"},
		{"tes|a", "tesa"},
		{"tes\\a", "tesa"},
		{"tes/a", "tesa"},
		{"aå•Šå•Šb", "aå•Šå•Šb"},
		{"cğŸ¤”ï¸ğŸ¤”ï¸d", "cd"},
		{"aâš¡a", "aa"},
		{"e.~f", "ef"},
	}
	for _, test := range tests {
		assert.Equal(t, []byte(test.expect), CleanValue([]byte(test.param)), test.param)
	}
}