git.iko.soy/typeable/cabal2nix
on master help sign in
test: add todo testing locale-independence
66cb4b6Peter Simons
test/Main.hs+2
@@ -19,6 +19,8 @@ import Text.PrettyPrint.HughesPJClass
19
19
20main :: IO ()
20main :: IO ()
21main = do
21main = do
22+ -- TODO: run this test with all kinds of setLocaleEncoding values to ensure we don't
23+ -- depend on the system environment: https://github.com/NixOS/cabal2nix/issues/333
22 testCases <- findByExtension [".cabal"] "test/golden-test-cases"
24 testCases <- findByExtension [".cabal"] "test/golden-test-cases"
23 defaultMain $ testGroup "regression-tests" (map regressionTest testCases)
25 defaultMain $ testGroup "regression-tests" (map regressionTest testCases)
24
26