mirror of
https://github.com/helm/helm.git
synced 2026-04-26 16:47:26 -04:00
Improve error message to check in unit test
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
This commit is contained in:
parent
ca931b472b
commit
9a0e7d8a31
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ func TestBadValues(t *testing.T) {
|
|||
if len(m) < 1 {
|
||||
t.Fatalf("All didn't fail with expected errors, got %#v", m)
|
||||
}
|
||||
if !strings.Contains(m[0].Err.Error(), "cannot unmarshal") {
|
||||
if !strings.Contains(m[0].Err.Error(), "unable to parse YAML") {
|
||||
t.Errorf("All didn't have the error for invalid key format: %s", m[0].Err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue