mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 18:01:21 +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