remove facebook exception from the last commit

This commit is contained in:
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{ 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",
} }

View File

@ -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) {