mirror of
https://github.com/hectorm/hblock.git
synced 2026-04-18 13:06:34 +05:30
Removed double dash from "printf".
It's not necessary and the Toybox implementation interprets it literally.
This commit is contained in:
parent
16227fd211
commit
e34217ee24
26 changed files with 108 additions and 108 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue