Subject: | t/CLI.t test fails with perltidy ≥ 20180219 |
After upgrading perltidy to 20180219 or newer, t/CLI.t fails like this:
t/Basic.t ... ok
# Failed test 'no options'
# at /builddir/build/BUILD/Mason-Tidy-2.57/blib/lib/Mason/Tidy/t/CLI.pm line 44.
# (in Mason::Tidy::t::CLI->test_cli)
# got: '% if (foo) {
# % bar;
# % }
# '
# expected: '% if (foo) {
# % bar
# % }
# '
# Failed test 'no options'
# at /builddir/build/BUILD/Mason-Tidy-2.57/blib/lib/Mason/Tidy/t/CLI.pm line 46.
# (in Mason::Tidy::t::CLI->test_cli)
# got: '% if (foo) {
# % bar;
# % }
# '
# expected: '% if (foo) {
# % bar
# % }
# '
# Looks like you failed 2 tests of 16.
t/CLI.t .....
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/16 subtests