mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
Remove function from tests as this is no shell
This commit is contained in:
@@ -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}|
|
||||
|
||||
Reference in New Issue
Block a user