fix test
This commit is contained in:
parent
3ac82de00c
commit
9c7e6a0aec
|
@ -158,8 +158,8 @@ func TestConfigPrepareStartupScriptFile(t *testing.T) {
|
||||||
|
|
||||||
_, _, errs := NewConfig(config)
|
_, _, errs := NewConfig(config)
|
||||||
|
|
||||||
if errs == nil || !strings.Contains(errs.Error(), "cannot access file 'file_not_exist' with content for value of metadata "+
|
if errs == nil || !strings.Contains(errs.Error(), "cannot access file 'file_not_exist' with content "+
|
||||||
"key 'key': stat file_not_exist: no such file or directory") {
|
"for value of metadata key 'key':") {
|
||||||
t.Fatalf("should error: metadata_from_file")
|
t.Fatalf("should error: metadata_from_file")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue