mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
housekeeping: shellcheck for tests/functional/function-trace.sh
This commit is contained in:
parent
b764dd9aa4
commit
cd46ec17f9
1 changed files with 2 additions and 2 deletions
|
@ -21,12 +21,12 @@ expect_trace() {
|
||||||
<(echo "$expect") \
|
<(echo "$expect") \
|
||||||
<(echo "$actual")
|
<(echo "$actual")
|
||||||
) && result=0 || result=$?
|
) && result=0 || result=$?
|
||||||
if [ $result -eq 0 ]; then
|
if [ "$result" -eq 0 ]; then
|
||||||
echo " ok."
|
echo " ok."
|
||||||
else
|
else
|
||||||
echo " failed. difference:"
|
echo " failed. difference:"
|
||||||
echo "$msg"
|
echo "$msg"
|
||||||
return $result
|
return "$result"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue