UnkindPartition / tasty

Modern and extensible testing framework for Haskell
638 stars 108 forks source link

Print unparsed options #368

Closed Bodigrim closed 1 year ago

Bodigrim commented 1 year ago

When using cabal test --test-options=... it is sometimes non-trivial to figure out escaping rules applied, especially for options like --pattern which involve quotes, slashes, tildes and dollars.

Before this change:

option -p: Could not parse pattern

After:

option -p: Could not parse: //foo/ is not a valid pattern