From b15b9b8b08e984e91a07b6f6d2e2af83da4ea09f Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 13 Dec 2015 10:33:27 +0000 Subject: [PATCH] remove facebook exception from the last commit --- utils/utils.go | 1 - utils/utils_test.go | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) 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) {