Remove function from tests as this is no shell

This commit is contained in:
Lars Gohr
2020-05-24 12:27:08 +02:00
parent 014155fcaa
commit bae033eb56

View File

@@ -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}|