diff options
Diffstat (limited to 't')
| -rw-r--r-- | t/100-increment-decrement.t | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/t/100-increment-decrement.t b/t/100-increment-decrement.t index cba66e8..431779d 100644 --- a/t/100-increment-decrement.t +++ b/t/100-increment-decrement.t @@ -60,6 +60,14 @@ is_deeply(  	'increments a negative integer with a leading zero'  ); +@got = incdec::incdec('openssl x509 -inform DER -in codesign0 -text', 1); +@want = ('openssl x509 -inform DER -in codesign1 -text', 37); +is_deeply( +	\@got, +	\@want, +	'increments a zero without removing the following character' +); +  @got = incdec::incdec('test 12 0', 1, 6);  @want = ('test 13 0', 5);  is_deeply( | 
