diff options
author | Steven Schubiger <stsc@refcnt.org> | 2015-09-03 13:49:27 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2015-09-03 13:49:27 +0200 |
commit | 6863ca2831b26c73b091e5e4b4215f5112ed2362 (patch) | |
tree | a0e46fb48a40a48cce947cef7d1d6644dd10efdc /t/merge.t | |
parent | ce23df99848c52c808acc76a584f60228aab4376 (diff) | |
download | colorize-6863ca2831b26c73b091e5e4b4215f5112ed2362.tar.gz colorize-6863ca2831b26c73b091e5e4b4215f5112ed2362.tar.bz2 |
Double memory when increasing buffer
Diffstat (limited to 't/merge.t')
-rwxr-xr-x | t/merge.t | 61 |
1 files changed, 31 insertions, 30 deletions
@@ -10,36 +10,37 @@ use Test::More; # sequence, buffer sizes my @merge_success = ( - [ "\e[30m", [ 1..4 ] ], - [ "\e[31m", [ 1..4 ] ], - [ "\e[32m", [ 1..4 ] ], - [ "\e[33m", [ 1..4 ] ], - [ "\e[34m", [ 1..4 ] ], - [ "\e[35m", [ 1..4 ] ], - [ "\e[36m", [ 1..4 ] ], - [ "\e[37m", [ 1..4 ] ], - [ "\e[39m", [ 1..4 ] ], - [ "\e[1;30m", [ 1..6 ] ], - [ "\e[1;31m", [ 1..6 ] ], - [ "\e[1;32m", [ 1..6 ] ], - [ "\e[1;33m", [ 1..6 ] ], - [ "\e[1;34m", [ 1..6 ] ], - [ "\e[1;35m", [ 1..6 ] ], - [ "\e[1;36m", [ 1..6 ] ], - [ "\e[1;37m", [ 1..6 ] ], - [ "\e[1;39m", [ 1..6 ] ], - [ "\e[40m", [ 1..4 ] ], - [ "\e[41m", [ 1..4 ] ], - [ "\e[42m", [ 1..4 ] ], - [ "\e[43m", [ 1..4 ] ], - [ "\e[44m", [ 1..4 ] ], - [ "\e[45m", [ 1..4 ] ], - [ "\e[46m", [ 1..4 ] ], - [ "\e[47m", [ 1..4 ] ], - [ "\e[49m", [ 1..4 ] ], - [ "\e[0m", [ 1..3 ] ], - [ "\e[m", [ 1..2 ] ], - [ "\e[;;m", [ 1..4 ] ], + [ "\e[30m", [ 1..4 ] ], + [ "\e[31m", [ 1..4 ] ], + [ "\e[32m", [ 1..4 ] ], + [ "\e[33m", [ 1..4 ] ], + [ "\e[34m", [ 1..4 ] ], + [ "\e[35m", [ 1..4 ] ], + [ "\e[36m", [ 1..4 ] ], + [ "\e[37m", [ 1..4 ] ], + [ "\e[39m", [ 1..4 ] ], + [ "\e[1;30m", [ 1..6 ] ], + [ "\e[1;31m", [ 1..6 ] ], + [ "\e[1;32m", [ 1..6 ] ], + [ "\e[1;33m", [ 1..6 ] ], + [ "\e[1;34m", [ 1..6 ] ], + [ "\e[1;35m", [ 1..6 ] ], + [ "\e[1;36m", [ 1..6 ] ], + [ "\e[1;37m", [ 1..6 ] ], + [ "\e[1;39m", [ 1..6 ] ], + [ "\e[40m", [ 1..4 ] ], + [ "\e[41m", [ 1..4 ] ], + [ "\e[42m", [ 1..4 ] ], + [ "\e[43m", [ 1..4 ] ], + [ "\e[44m", [ 1..4 ] ], + [ "\e[45m", [ 1..4 ] ], + [ "\e[46m", [ 1..4 ] ], + [ "\e[47m", [ 1..4 ] ], + [ "\e[49m", [ 1..4 ] ], + [ "\e[0m", [ 1..3 ] ], + [ "\e[m", [ 1..2 ] ], + [ "\e[;;m", [ 1..4 ] ], + [ "\e[123456m", [ 1 ] ], # tightly coupled to ALLOC_COMPLETE_PART_LINE ); # sequence, buffer size my @merge_fail = ( |