aboutsummaryrefslogtreecommitdiffstats
path: root/t/merge.t
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2015-09-03 13:49:27 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2015-09-03 13:49:27 +0200
commit6863ca2831b26c73b091e5e4b4215f5112ed2362 (patch)
treea0e46fb48a40a48cce947cef7d1d6644dd10efdc /t/merge.t
parentce23df99848c52c808acc76a584f60228aab4376 (diff)
downloadcolorize-6863ca2831b26c73b091e5e4b4215f5112ed2362.tar.gz
colorize-6863ca2831b26c73b091e5e4b4215f5112ed2362.tar.bz2
Double memory when increasing buffer
Diffstat (limited to 't/merge.t')
-rwxr-xr-xt/merge.t61
1 files changed, 31 insertions, 30 deletions
diff --git a/t/merge.t b/t/merge.t
index fe73c2b..b5c6dc7 100755
--- a/t/merge.t
+++ b/t/merge.t
@@ -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 = (