in reply to Re: Redirecting the output of Test::More
in thread Redirecting the output of Test::More

Test::Harness will try to interpret anything printed to STDOUT. diag() works better. (However, in this case, is() is the best option of all.)