Skip to content

Commit

Permalink
Update main.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakr233 committed Apr 2, 2024
1 parent 041d9b6 commit d327cd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Resource/ApiTest/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ function cleanup {
if [ $TEST_RESULT -ne 0 ]; then
echo "[-] ** test failed **"
exit 1
else
echo "[+] ** test passed **"
exit 0
fi

echo "[+] test passed"
}

trap cleanup EXIT
Expand Down

0 comments on commit d327cd9

Please sign in to comment.