diff options
Diffstat (limited to 'tests/01_arithmetic/04_inc_dec')
-rw-r--r-- | tests/01_arithmetic/04_inc_dec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/01_arithmetic/04_inc_dec b/tests/01_arithmetic/04_inc_dec index 5a048fe..ae50ceb 100644 --- a/tests/01_arithmetic/04_inc_dec +++ b/tests/01_arithmetic/04_inc_dec @@ -17,9 +17,9 @@ or decrement operation is NaN. -- Expect stdout -- Incrementing a not existing variable assumes "0" as initial value: - - Postfix increment result: null, value after: 1 + - Postfix increment result: 0, value after: 1 - Prefix increment result: 1, value after: 1 - - Postfix decrement result: null, value after: -1 + - Postfix decrement result: 0, value after: -1 - Prefix decrement result: -1, value after: -1 Incrementing a non-numeric value will convert it to a number: |