Subject: | Test t/13-latex_encode.t fails with new version of LaTeX::Encode (0.06) |
...
MATCH FAILED
input: [[% USE Latex; "\\LaTeX" | latex_encode; %]\n]
expect: [\textbackslash LaTeX]
output: [{\textbackslash}LaTeX]
not ok 15 - template text 6 did not match expected
...
MATCH FAILED
input: [[% USE Latex; "\\&#_^{}\\&#_^{}" | latex_encode; %]\n]
expect: [\textbackslash\&\#\_\^{ }\{\}\textbackslash\&\#\_\^{ }\{\}]
output: [{\textbackslash}\&\#\_\^{ }\{\}{\textbackslash}\&\#\_\^{ }\{\}]
not ok 21 - template text 9 did not match expected
...
It seems the newest version of LaTeX::Encode surrounds named characters
with curly brackets which is not expected by this test.