From 9b79cbe713ab1d6daea06caf18623b6805040a8d Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Mon, 6 Jun 2016 15:57:51 -0700 Subject: [PATCH] Cleanup Signed-off-by: Tibor Vass --- namesgenerator/names-generator_test.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/namesgenerator/names-generator_test.go b/namesgenerator/names-generator_test.go index f7dae27..d1a9497 100644 --- a/namesgenerator/names-generator_test.go +++ b/namesgenerator/names-generator_test.go @@ -5,14 +5,6 @@ import ( "testing" ) -// Make sure the generated names are awesome -func TestGenerateAwesomeNames(t *testing.T) { - name := GetRandomName(0) - if !isAwesome(name) { - t.Fatalf("Generated name '%s' is not awesome.", name) - } -} - func TestNameFormat(t *testing.T) { name := GetRandomName(0) if !strings.Contains(name, "_") { @@ -33,13 +25,3 @@ func TestNameRetries(t *testing.T) { } } - -// To be awesome, a container name must involve cool inventors, be easy to remember, -// be at least mildly funny, and always be politically correct for enterprise adoption. -func isAwesome(name string) bool { - coolInventorNames := true - easyToRemember := true - mildlyFunnyOnOccasion := true - politicallyCorrect := true - return coolInventorNames && easyToRemember && mildlyFunnyOnOccasion && politicallyCorrect -}