diff --git a/utils/utils.go b/utils/utils.go index 9fffe802..e20aa18b 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -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", } diff --git a/utils/utils_test.go b/utils/utils_test.go index 4af9ded2..13df32d5 100644 --- a/utils/utils_test.go +++ b/utils/utils_test.go @@ -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) {