Skip to content

Commit

Permalink
Clarify error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Feb 14, 2011
1 parent ba794aa commit 6531dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/api/api-test-error.sh
Expand Up @@ -34,7 +34,7 @@ fi
#If <result error="true"> then an error occured.
waserror=$($XMLSTARLET sel -T -t -v "/result/@error" ${file})
if [ "true" != "$waserror" ] ; then
errorMsg "FAIL: expected error result: ${message}"
errorMsg "FAIL: expected error result but was successful: ${message}"
exit 2
fi
if [ "" != "${message}" ] ; then
Expand Down

0 comments on commit 6531dc7

Please sign in to comment.