This commit is contained in:
Gennady Lipenkov 2019-06-11 16:49:34 +03:00
parent 3ac82de00c
commit 9c7e6a0aec
1 changed files with 2 additions and 2 deletions

View File

@ -158,8 +158,8 @@ func TestConfigPrepareStartupScriptFile(t *testing.T) {
_, _, errs := NewConfig(config)
if errs == nil || !strings.Contains(errs.Error(), "cannot access file 'file_not_exist' with content for value of metadata "+
"key 'key': stat file_not_exist: no such file or directory") {
if errs == nil || !strings.Contains(errs.Error(), "cannot access file 'file_not_exist' with content "+
"for value of metadata key 'key':") {
t.Fatalf("should error: metadata_from_file")
}
}