Skip to content

Commit

Permalink
Improved test script
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Mar 8, 2017
1 parent 93b94ee commit 4a9f792
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ has_errors=""
################################################################################

main() {
if [[ ! -e $BINARY ]] ; then
echo -e "${CL_RED}Can't find yo binary${CL_NORM}"
exit 1
fi

runTest
}

runTest() {
header "Basic selectors"

check ".name" "John Doe"
Expand Down

0 comments on commit 4a9f792

Please sign in to comment.