Update execplugin_test.go

This commit is contained in:
Jeff Regan
2019-12-12 13:57:00 -08:00
committed by GitHub
parent dae03a9618
commit 7cdb157a55

View File

@@ -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(),