Skip to content

Commit

Permalink
Fix bracket error
Browse files Browse the repository at this point in the history
  • Loading branch information
Minituff committed Oct 24, 2023
1 parent b7c477d commit c39c388
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test_cron() {



test_bash(
test_bash() {
EXPECTED_OUTPUT="/bin/bash"
ACTUAL_OUTPUT=$(which bash)

Expand All @@ -41,9 +41,9 @@ test_bash(
echo "Got: $ACTUAL_OUTPUT"
exit 1
fi
)
}

test_rsync(
test_rsync() {
EXPECTED_OUTPUT="/usr/bin/rsync"
ACTUAL_OUTPUT=$(which rsync)

Expand All @@ -56,9 +56,9 @@ test_rsync(
echo "Got: $ACTUAL_OUTPUT"
exit 1
fi
)
}

test_jq(
test_jq(){
EXPECTED_OUTPUT="/usr/bin/jq"
ACTUAL_OUTPUT=$(which jq)

Expand All @@ -71,7 +71,7 @@ test_jq(
echo "Got: $ACTUAL_OUTPUT"
exit 1
fi
)
}

test_cron
test_bash
Expand Down

0 comments on commit c39c388

Please sign in to comment.