This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/re/regexp.t: Better formatting for test failures
authorDan Collins <dcollinsn@gmail.com>
Sat, 18 Jun 2016 20:52:26 +0000 (16:52 -0400)
committerTony Cook <tony@develop-help.com>
Mon, 11 Jul 2016 00:02:07 +0000 (10:02 +1000)
commit6ea2424c9bce5f5733208cdb4ff57aef6c63fbc7
tree4bc69565ee71dec1926bdfa89aea8c3b69f144e4
parent59a08c763def19a317f229e4a95b1cdf6db8e12d
t/re/regexp.t: Better formatting for test failures

On test failure, most of our tests output a description of the test,
followed by the actual result ("got") and the desired result
("expected"). This brings the tests in t/re/re_tests in line by
adding "expected" to the output, and changing the order slightly,
to more naturally describe the test, the output, and the expectation.
t/re/regexp.t