Removed double dash from "printf".

It's not necessary and the Toybox implementation interprets it literally.
This commit is contained in:
Héctor Molinero Fernández 2021-02-28 16:27:42 +01:00
commit e34217ee24
26 changed files with 108 additions and 108 deletions

View file

@ -21,9 +21,9 @@ runInTestShell() {
assertEquals() {
actual="${1?}"; expected="${2?}"
if [ "${actual?}" != "${expected?}" ]; then
printf -- '\nError, values are not equal\n\n' >&2
printf -- '[Actual]:\n\n%s\n\n' "${actual?}" >&2
printf -- '[Expected]:\n\n%s\n\n' "${expected?}" >&2
printf '\nError, values are not equal\n\n' >&2
printf '[Actual]:\n\n%s\n\n' "${actual?}" >&2
printf '[Expected]:\n\n%s\n\n' "${expected?}" >&2
return 1
fi
return 0