Skip to content

Commit

Permalink
Remove newlines on the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Jul 23, 2024
1 parent 6764daf commit 0144212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test() {
while [ ! "$(docker inspect --format '{{json .State.Health.Status }}' metacall_builder_registry)" = "\"healthy\"" ]; do
sleep 5
done
DOCKER_OUTPUT=`docker run --rm -v ./test/suites:/test -t localhost:5000/metacall/builder_output sh -c "metacallcli test/$1"`
DOCKER_OUTPUT=`docker run --rm -v ./test/suites:/test -t localhost:5000/metacall/builder_output sh -c "metacallcli test/$1" | tr -d '\n'`

if [ ! "${DOCKER_OUTPUT}" = "$2" ]; then
echo "Failed to run test: $1"
Expand Down

0 comments on commit 0144212

Please sign in to comment.