bb31b4651128711bee7ec6e1eecb90f1a0f0175e — Simon Ser a month ago 5b0a6ee
test/arithm: reset variable before assignment tests
1 files changed, 1 insertions(+), 0 deletions(-)

M test/arithm.sh
M test/arithm.sh => test/arithm.sh +1 -0
@@ 43,6 43,7 @@ echo "\$a+2 =" $(($a+2))
  
  # Assignments
+ a=0
  echo "(a=42) =" $((a=42)) "->" $a
  echo "(a+=1) =" $((a+=1)) "->" $a
  echo "(a-=4) =" $((a-=4)) "->" $a