Skip to content

Commit

Permalink
I think it may work now.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Jul 23, 2024
1 parent 33922d9 commit 78d648a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ test() {
done

DOCKER_OUTPUT=`docker run --rm -v ./test/suites:/test -t localhost:5000/metacall/builder_output sh -c "metacallcli test/$1"`
DOCKER_OUTPUT=`echo "${DOCKER_OUTPUT}" | xargs`
EXPECTED_OUTPUT=`echo "$2" | xargs`
DOCKER_OUTPUT=`echo ${DOCKER_OUTPUT} | tr -d '\r\n'`
EXPECTED_OUTPUT=`echo $2 | tr -d '\r\n'`

if [ "${DOCKER_OUTPUT}" = "${EXPECTED_OUTPUT}" ]; then
echo "Test passed: $1"
Expand Down

0 comments on commit 78d648a

Please sign in to comment.