From bae033eb56253052fdf757e46123957924696736 Mon Sep 17 00:00:00 2001 From: Lars Gohr Date: Sun, 24 May 2020 12:27:08 +0200 Subject: [PATCH] Remove function from tests as this is no shell --- test.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.bats b/test.bats index 7966bd6..24afa33 100755 --- a/test.bats +++ b/test.bats @@ -574,7 +574,7 @@ teardown() { + sanitize my/repository name" } -function expectStdOutContains() { +expectStdOutContains() { local expected=$(echo "${1}" | tr -d '\n') local got=$(echo "${output}" | tr -d '\n') echo "Expected: |${expected}| @@ -582,7 +582,7 @@ function expectStdOutContains() { echo "${got}" | grep "${expected}" } -function expectMockCalled() { +expectMockCalled() { local expected=$(echo "${1}" | tr -d '\n') local got=$(cat mockCalledWith | tr -d '\n') echo "Expected: |${expected}|