|
|
@ -99,6 +99,9 @@ func TestIgnore(t *testing.T) {
|
|
|
|
{`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},
|
|
|
|
{`templates/.?*`, "templates/.dotfile", true},
|
|
|
|
{`templates/.?*`, "templates/.dotfile", true},
|
|
|
|
|
|
|
|
// "." should never get ignored. https://github.com/kubernetes/helm/issues/1776
|
|
|
|
|
|
|
|
{`.*`, ".", false},
|
|
|
|
|
|
|
|
{`.*`, "./", false},
|
|
|
|
|
|
|
|
|
|
|
|
// Directory tests
|
|
|
|
// Directory tests
|
|
|
|
{`cargo/`, "cargo", true},
|
|
|
|
{`cargo/`, "cargo", true},
|
|
|
|