Skip to content

Commit

Permalink
Better language
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoniMarcinek committed Nov 12, 2020
1 parent 19efbd6 commit cc60701
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/core/outputs.sh
Expand Up @@ -67,15 +67,15 @@ shellspec_output_UNHANDLED_STATUS() {
SHELLSPEC_LINENO=$SHELLSPEC_LINENO_BEGIN-$SHELLSPEC_LINENO_END
shellspec_output_statement "tag:warn" "note:WARNING" \
"fail:${SHELLSPEC_WARNING_AS_FAILURE:+y}" \
"message:It was exits with status non-zero but not found expectation"
"message:It exits with status non-zero but not found expectation"
shellspec_output_raw_append "failure_message:status:" "$SHELLSPEC_STATUS"
}

shellspec_output_UNHANDLED_STDOUT() {
SHELLSPEC_LINENO=$SHELLSPEC_LINENO_BEGIN-$SHELLSPEC_LINENO_END
shellspec_output_statement "tag:warn" "note:WARNING" \
"fail:${SHELLSPEC_WARNING_AS_FAILURE:+y}" \
"message:It was output to stdout but not found expectation"
"message:There was output to stdout but not found expectation"
shellspec_chomp SHELLSPEC_STDOUT
shellspec_output_raw_append "failure_message:stdout:" "$SHELLSPEC_STDOUT"
}
Expand All @@ -84,7 +84,7 @@ shellspec_output_UNHANDLED_STDERR() {
SHELLSPEC_LINENO=$SHELLSPEC_LINENO_BEGIN-$SHELLSPEC_LINENO_END
shellspec_output_statement "tag:warn" "note:WARNING" \
"fail:${SHELLSPEC_WARNING_AS_FAILURE:+y}" \
"message:It was output to stderr but not found expectation"
"message:There was output to stderr but not found expectation"
shellspec_chomp SHELLSPEC_STDERR
shellspec_output_raw_append "failure_message:stderr:" "$SHELLSPEC_STDERR"
}
Expand Down

0 comments on commit cc60701

Please sign in to comment.