diff --git a/test/run-test b/test/run-test index 1528f56..9a8b7c0 100755 --- a/test/run-test +++ b/test/run-test @@ -39,9 +39,9 @@ assert() { test "$@" || { local -i code=$? - echo "assertion failed: $@" >&2 + echo "assertion failed: \`$@\` in ${BASH_SOURCE[1]}:${BASH_LINENO[0]}" return $code - } + } >&2 }