This is an archive of the discontinued Mercurial Phabricator instance.

tests: conditionalize test-hightlight.t on pygments version
ClosedPublic

Authored by indygreg on Jan 18 2020, 4:18 PM.

Details

Summary

Output changed slightly in pygments 2.5.

I thought it was easier to copy the line and add a version
check than to add a regular expression because the line has some
special characters. I also like tests explicitly calling out where
they vary.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage