From 09b58e602bdce52b4e6d80b31db2ddc95b6eeb8e Mon Sep 17 00:00:00 2001 From: Derek Horton Date: Mon, 9 Dec 2024 15:50:27 -0600 Subject: [PATCH] Fix a test...hopefully --- internal/common/ansible/runner_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/common/ansible/runner_test.go b/internal/common/ansible/runner_test.go index 14d017fa..f536c13b 100644 --- a/internal/common/ansible/runner_test.go +++ b/internal/common/ansible/runner_test.go @@ -73,7 +73,7 @@ var _ = Describe("Ansible", func() { It("determines stdout from a successful run", func() { events := loadFile("./test-events1.jsonl") stdout := GetStdout(events, nil) - Expect(stdout).To(Equal("\r\nPLAY [ping] ********************************************************************\r\n\nTASK [ping] ********************************************************************\n\x1b[0;32mok: [localhost]\x1b[0m\r\n\nPLAY RECAP *********************************************************************\r\n\x1b[0;32mlocalhost\x1b[0m : \x1b[0;32mok=1 \x1b[0m changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 \r\n\n")) + Expect(stdout).To(Equal("\r\nPLAY [ping] ********************************************************************\n\r\nTASK [ping] ********************************************************************\n\x1b[0;32mok: [localhost]\x1b[0m\n\r\nPLAY RECAP *********************************************************************\r\n\x1b[0;32mlocalhost\x1b[0m : \x1b[0;32mok=1 \x1b[0m changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 \r\n\n")) }) It("determines stdout from a failed run", func() {