From 20f72fc53fd90986375bb2e653d2df171899146c Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 16 Apr 2026 13:08:25 +0800 Subject: [PATCH] fix(test): update TestCommandOutput expected output for new debug and summary sections - add ======ENV====== section to expected output when Debug is true - add success summary footer to expected output --- plugin_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plugin_test.go b/plugin_test.go index f463664..e3521ea 100644 --- a/plugin_test.go +++ b/plugin_test.go @@ -384,6 +384,11 @@ func TestCommandOutput(t *testing.T) { whoami uname localhost: ======END====== + localhost: ======ENV====== + localhost: pwd + whoami + uname + localhost: ======END====== localhost: /home/drone-scp localhost: drone-scp localhost: Linux @@ -392,9 +397,17 @@ func TestCommandOutput(t *testing.T) { whoami uname 127.0.0.1: ======END====== + 127.0.0.1: ======ENV====== + 127.0.0.1: pwd + whoami + uname + 127.0.0.1: ======END====== 127.0.0.1: /home/drone-scp 127.0.0.1: drone-scp 127.0.0.1: Linux + =============================================== + ✅ Successfully executed commands to all hosts. + =============================================== ` )