mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 10:30:59 +00:00
Improve fs package and doc in prep to officially go public
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
)
|
||||
|
||||
func TestRestrictionNone(t *testing.T) {
|
||||
fSys := fs.MakeFakeFS()
|
||||
fSys := fs.MakeFsInMemory()
|
||||
root := fs.ConfirmedDir("irrelevant")
|
||||
path := "whatever"
|
||||
p, err := RestrictionNone(fSys, root, path)
|
||||
@@ -37,7 +37,7 @@ func TestRestrictionNone(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRestrictionRootOnly(t *testing.T) {
|
||||
fSys := fs.MakeFakeFS()
|
||||
fSys := fs.MakeFsInMemory()
|
||||
root := fs.ConfirmedDir("/tmp/foo")
|
||||
|
||||
path := "/tmp/foo/whatever/beans"
|
||||
|
||||
Reference in New Issue
Block a user