Skip to content

Commit

Permalink
Fix a test...hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
dehort committed Dec 9, 2024
1 parent 53649ba commit 09b58e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/common/ansible/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 09b58e6

Please sign in to comment.