CC: | garu [...] cpan.org |
Subject: | t/97dataprinter.t fails (unexpected colorization) |
t/97dataprinter.t fails, probably if the latest devel version of Data::Printer is installed. It looks like Data::Printer output is now colorized:
...
Argument "0.99_020" isn't numeric in numeric ge (>=) at t/97dataprinter.t line 23.
# Failed test at t/97dataprinter.t line 34.
# got: '[93mSomething[0m[ [0;38;5;209m1[0m, [0;38;5;209m2[0m ]'
# expected: 'Something[ 1, 2 ]'
# Failed test 'dump including line breaks'
# at t/97dataprinter.t line 38.
# '[93mSomething[0m[
# [0;38;5;117m"[0m[0;38;5;107mHello
# World[0m[0;38;5;117m"[0m,
# [0;38;5;117m[[0m
# [0;38;5;152m[0] [0m[0;38;5;117m"[0m[0;38;5;107mA[0m[0;38;5;117m"[0m[0;38;5;117m,[0m
# [0;38;5;152m[1] [0m[0;38;5;117m"[0m[0;38;5;107mB
# C[0m[0;38;5;117m"[0m[0;38;5;117m,[0m
# [0;38;5;152m[2] [0m[0;38;5;117m"[0m[0;38;5;107mD[0m[0;38;5;117m"[0m
# [0;38;5;117m][0m,
# ]
# '
# doesn't match '(?^s:^Something\[\n)'
# Failed test at t/97dataprinter.t line 43.
# got: '[93mSomething[0m[ [0;38;5;209m1[0m, [0;38;5;209m2[0m, [0;38;5;209m3[0m ]'
# expected: 'Something[ 1, 2, 3 ]'
# Failed test at t/97dataprinter.t line 48.
# got: '[93mstruct[0m[ ]'
# expected: 'struct[ ]'
# Looks like you failed 4 tests of 4.
t/97dataprinter.t .........
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/4 subtests
...