Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2023-07-23 09:30:40 +08:00
parent a4c283f64b
commit e8a8c8e923

View File

@ -875,9 +875,14 @@ func TestAllEnvs(t *testing.T) {
var ( var (
buffer bytes.Buffer buffer bytes.Buffer
expected = ` expected = `
out: [foobar] ======CMD======
out: [foobar] echo "[${INPUT_1}]"
out: [foobar] echo "[${GITHUB_2}]"
echo "[${PLUGIN_3}]"
======END======
out: [foobar]
out: [foobar]
out: [foobar]
` `
) )