aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/100-increment-decrement.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/100-increment-decrement.t b/t/100-increment-decrement.t
index 9d5d0ad..e7feccb 100644
--- a/t/100-increment-decrement.t
+++ b/t/100-increment-decrement.t
@@ -43,4 +43,10 @@ is(
'increments the second double-digit integer with point at position 9'
);
+is(
+ incdec::incdec('test 12 19 555', 12),
+ 'test 12 19 556',
+ 'increments the third triple-digit integer with point at position 12'
+);
+
done_testing;