mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
minor engine unit test fix
This commit is contained in:
parent
cc24e3f598
commit
72e7b22999
1 changed files with 12 additions and 8 deletions
|
|
@ -290,20 +290,24 @@ global:
|
|||
t.Fatalf("failed to render templates: %s", err)
|
||||
}
|
||||
|
||||
if out["top/"+outerpath] != "Gather ye rosebuds while ye may" {
|
||||
t.Errorf("Unexpected outer: %q", out[outerpath])
|
||||
fullouterpath := "top/" + outerpath
|
||||
if out[fullouterpath] != "Gather ye rosebuds while ye may" {
|
||||
t.Errorf("Unexpected outer: %q", out[fullouterpath])
|
||||
}
|
||||
|
||||
if out["top/charts/herrick/"+innerpath] != "Old time is still a-flyin'" {
|
||||
t.Errorf("Unexpected inner: %q", out[innerpath])
|
||||
fullinnerpath := "top/charts/herrick/" + innerpath
|
||||
if out[fullinnerpath] != "Old time is still a-flyin'" {
|
||||
t.Errorf("Unexpected inner: %q", out[fullinnerpath])
|
||||
}
|
||||
|
||||
if out["top/charts/herrick/charts/deepest/"+deepestpath] != "And this same flower that smiles to-day" {
|
||||
t.Errorf("Unexpected deepest: %q", out[deepestpath])
|
||||
fulldeepestpath := "top/charts/herrick/charts/deepest/" + deepestpath
|
||||
if out[fulldeepestpath] != "And this same flower that smiles to-day" {
|
||||
t.Errorf("Unexpected deepest: %q", out[fulldeepestpath])
|
||||
}
|
||||
|
||||
if out["top/charts/herrick/charts/deepest/"+checkrelease] != "Tomorrow will be dyin" {
|
||||
t.Errorf("Unexpected release: %q", out[checkrelease])
|
||||
fullcheckrelease := "top/charts/herrick/charts/deepest/" + checkrelease
|
||||
if out[fullcheckrelease] != "Tomorrow will be dyin" {
|
||||
t.Errorf("Unexpected release: %q", out[fullcheckrelease])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue