1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

Don't assert against error message

This commit is contained in:
John Turner
2017-10-30 10:08:48 -04:00
parent 77e90bb7c2
commit 84f1042988

View File

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