mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 12:18:57 +00:00
feat: Allow paths starting with slash
This commit is contained in:
@@ -27,6 +27,10 @@ func TestPathSplitter(t *testing.T) {
|
||||
path: "a/b/c",
|
||||
exp: []string{"a", "b", "c"},
|
||||
},
|
||||
{
|
||||
path: "/a/b/c",
|
||||
exp: []string{"a", "b", "c"},
|
||||
},
|
||||
{
|
||||
path: `a/b[]/c`,
|
||||
exp: []string{"a", "b[]", "c"},
|
||||
|
||||
Reference in New Issue
Block a user