1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-08 03:27:19 +00:00

Refactor wiki (#34805)

Remove unclear code
This commit is contained in:
wxiaoguang
2025-06-22 18:53:33 +08:00
committed by GitHub
parent 94c6d46faa
commit f114c388ff
12 changed files with 71 additions and 173 deletions

View File

@ -69,6 +69,6 @@ func TestSanitizer(t *testing.T) {
}
for i := 0; i < len(testCases); i += 2 {
assert.Equal(t, testCases[i+1], Sanitize(testCases[i]))
assert.Equal(t, testCases[i+1], string(Sanitize(testCases[i])))
}
}