From 30a583c14c031758ea67d67a173e136988ca8d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sara=20Aim=C3=A9e=20Smiseth?= <51710585+SaraSmiseth@users.noreply.github.com> Date: Mon, 26 Oct 2020 17:51:29 +0100 Subject: [PATCH] regex pattern more variations --- tests/tests.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.bats b/tests/tests.bats index fb387cf..24634d9 100644 --- a/tests/tests.bats +++ b/tests/tests.bats @@ -5,7 +5,7 @@ load 'bats/bats-assert/load' # group alternation in regex because the xml properties switch around. sometimes 'type=...' comes after 'to=...' and sometimes before @test "Should send 5 messages" { - run bash -c "sudo docker-compose logs | grep -E \"Received\[c2s\]: \" | wc -l" + run bash -c "sudo docker-compose logs | grep -E \"Received\[c2s\]: \" | wc -l" assert_success assert_output "5" }