mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-16 01:43:24 +09:00
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -245,3 +245,10 @@ func TestToUTF8WithFallbackReader(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestDefaultDetectedCharsetsOrder(t *testing.T) {
|
||||
for _, charsetName := range setting.DefaultDetectedCharsetsOrder() {
|
||||
e, _ := Lookup(charsetName)
|
||||
assert.NotNil(t, e, "charset %s is not registered", charsetName)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user