mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-22 06:47:00 +00:00
Update execplugin_test.go
This commit is contained in:
@@ -24,7 +24,7 @@ func TestExecPluginConfig(t *testing.T) {
|
||||
fSys := filesys.MakeFsInMemory()
|
||||
fSys.WriteFile("sed-input.txt", []byte(`
|
||||
s/$FOO/foo/g
|
||||
s/$BAR/bar/g
|
||||
s/$BAR/bar baz/g
|
||||
\ \ \
|
||||
`))
|
||||
ldr, err := fLdr.NewLoader(
|
||||
@@ -47,12 +47,6 @@ s/$BAR/bar/g
|
||||
"argsFromFile": "sed-input.txt",
|
||||
})
|
||||
|
||||
fSys.WriteFile("/app/sed-input.txt", []byte(`
|
||||
s/$FOO/foo/g
|
||||
s/$BAR/bar baz/g
|
||||
\ \ \
|
||||
`))
|
||||
|
||||
p := NewExecPlugin(
|
||||
pLdr.AbsolutePluginPath(
|
||||
konfig.DisabledPluginConfig(),
|
||||
|
||||
Reference in New Issue
Block a user