mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
remove facebook exception from the last commit
This commit is contained in:
parent
403d01f946
commit
b15b9b8b08
@ -191,7 +191,6 @@ func Run(c *config.Config) {
|
|||||||
var splitCapitalizeExceptions = map[string]string{
|
var splitCapitalizeExceptions = map[string]string{
|
||||||
"youtube": "YouTube",
|
"youtube": "YouTube",
|
||||||
"github": "GitHub",
|
"github": "GitHub",
|
||||||
"facebook": "Facebook",
|
|
||||||
"googleplus": "Google Plus",
|
"googleplus": "Google Plus",
|
||||||
"linkedin": "LinkedIn",
|
"linkedin": "LinkedIn",
|
||||||
}
|
}
|
||||||
|
@ -93,6 +93,10 @@ var testSplitCapitalizeCases = []testSplitCapitalize{
|
|||||||
{"loremIpsum", "Lorem ipsum"},
|
{"loremIpsum", "Lorem ipsum"},
|
||||||
{"LoremIpsum", "Lorem ipsum"},
|
{"LoremIpsum", "Lorem ipsum"},
|
||||||
{"loremipsum", "Loremipsum"},
|
{"loremipsum", "Loremipsum"},
|
||||||
|
{"YouTube", "YouTube"},
|
||||||
|
{"GitHub", "GitHub"},
|
||||||
|
{"GooglePlus", "Google Plus"},
|
||||||
|
{"Facebook", "Facebook"},
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSplitCapitalize(t *testing.T) {
|
func TestSplitCapitalize(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user