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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user