|
|
@ -98,7 +98,7 @@ func TestIgnore(t *testing.T) {
|
|
|
|
{`cargo/*.*`, "cargo/a.txt", true},
|
|
|
|
{`cargo/*.*`, "cargo/a.txt", true},
|
|
|
|
{`cargo/*.txt`, "mast/a.txt", false},
|
|
|
|
{`cargo/*.txt`, "mast/a.txt", false},
|
|
|
|
{`ru[c-e]?er.txt`, "rudder.txt", true},
|
|
|
|
{`ru[c-e]?er.txt`, "rudder.txt", true},
|
|
|
|
// ".?*" should not get ignored. https://github.com/kubernetes/helm/issues/4058
|
|
|
|
// ".?*" should not get ignored. https://github.com/kubernetes/helm/issues/4058
|
|
|
|
{`templates/.?*`, "templates/.dotfile", false},
|
|
|
|
{`templates/.?*`, "templates/.dotfile", false},
|
|
|
|
// "." should never get ignored. https://github.com/kubernetes/helm/issues/1776
|
|
|
|
// "." should never get ignored. https://github.com/kubernetes/helm/issues/1776
|
|
|
|
{`.*`, ".", false},
|
|
|
|
{`.*`, ".", false},
|
|
|
|