iand675 / hs-brotli

20 stars 5 forks source link

Ignore IO errors for dictionary tests #1

Closed tjdett closed 5 years ago

tjdett commented 5 years ago

Some Linux distros popular with Haskell users (e.g. NixOS) do not have a file at /usr/share/dict/words. In those cases, skipping the test is preferable to failure.

I've tried to keep the bypass as simple as possible. In the case of wai-middleware-brotli, the alternate test data should be effective too.

iand675 commented 5 years ago

Cheers!