thread env through test suite

This will allow porting it to Windows, which cannot set environment except
when forking processes.

This is nasty, but HUnit can only test the IO monad, so
I cannot use a Reader monad.
This commit is contained in:
Joey Hess 2013-05-15 17:22:45 -04:00
parent 25cb9a48da
commit 9a2f8b02e9

652
Test.hs

File diff suppressed because it is too large Load diff