remove facebook exception from the last commit

pull/48/head
Henrique Dias 2015-12-13 10:33:27 +00:00
parent 403d01f946
commit b15b9b8b08
2 changed files with 4 additions and 1 deletions

View File

@ -191,7 +191,6 @@ func Run(c *config.Config) {
var splitCapitalizeExceptions = map[string]string{
"youtube": "YouTube",
"github": "GitHub",
"facebook": "Facebook",
"googleplus": "Google Plus",
"linkedin": "LinkedIn",
}

View File

@ -93,6 +93,10 @@ var testSplitCapitalizeCases = []testSplitCapitalize{
{"loremIpsum", "Lorem ipsum"},
{"LoremIpsum", "Lorem ipsum"},
{"loremipsum", "Loremipsum"},
{"YouTube", "YouTube"},
{"GitHub", "GitHub"},
{"GooglePlus", "Google Plus"},
{"Facebook", "Facebook"},
}
func TestSplitCapitalize(t *testing.T) {