From 84f104298824be8888016bcfbfef1116491d53ae Mon Sep 17 00:00:00 2001 From: John Turner Date: Mon, 30 Oct 2017 10:08:48 -0400 Subject: [PATCH] Don't assert against error message --- config/config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config_test.go b/config/config_test.go index f784ab7d9..5a431b4f0 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -141,7 +141,7 @@ func TestLoadConfigFileWithGroups(t *testing.T) { func TestLoadInvalidConfigFile(t *testing.T) { _, err := loadForFileFromBytes(sampleInvalidConfig, "foobar2000", nil) - assert.Equal(t, err.Error(), "error loading config: no creation rules found") + assert.NotNil(t, err) } func TestKeyGroupsForFile(t *testing.T) {