eval { Test::Leaner::BAIL_OUT('this is a comment') };
is $@, '', 'BAIL_OUT("comment") does not croak';
is $buf, "Bail out! this is a comment\n",
'BAIL_OUT("comment") produces the correct TAP code';
is $status, 255, 'BAIL_OUT("comment") exits with the correct status';
eval { Test::Leaner::BAIL_OUT('this is a comment') };
is $@, '', 'BAIL_OUT("comment") does not croak';
is $buf, "Bail out! this is a comment\n",
'BAIL_OUT("comment") produces the correct TAP code';
is $status, 255, 'BAIL_OUT("comment") exits with the correct status';