diff options
| author | Teddy Wing | 2021-08-15 19:36:31 +0200 |
|---|---|---|
| committer | Teddy Wing | 2021-08-15 19:36:31 +0200 |
| commit | 24495f6638809ca7d0db9ec6984a7c413abd2a58 (patch) | |
| tree | bee9573cd164facfcc105aeb94c888ad44de88ed /t | |
| parent | 84bd09dcc58f3e6f64928b818ed65b8f6344fd23 (diff) | |
| download | readline-incdec-24495f6638809ca7d0db9ec6984a7c413abd2a58.tar.bz2 | |
100-increment-decrement: Test middle-of-number point for third number
Test fails. Increments the second number instead of the third.
Diffstat (limited to 't')
| -rw-r--r-- | t/100-increment-decrement.t | 6 |
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; |
