Fixed unit test
All checks were successful
dc / build (push) Successful in 39s

This commit is contained in:
Marco Cetica 2024-03-01 11:06:44 +01:00
parent 3f09a67008
commit 531454ca17
Signed by: marco
GPG Key ID: 45060A949E90D0FD

View File

@ -13,7 +13,7 @@ EOF
# Test empty stack
EXPECTED="'~' requires two operands"
ACTUAL="$(dc -e '~' 2>&1)" || true
ACTUAL="$("$PROGRAM" -e '~' 2>&1)" || true
assert_eq "$EXPECTED" "$ACTUAL"
# Test non numerical values