[commit: packages/filepath] master: Rename FilePath_Test to Test (f4e568e)
git at git.haskell.org
git at git.haskell.org
Thu Mar 19 11:36:17 UTC 2015
Repository : ssh://git@git.haskell.org/filepath
On branch : master
Link : http://git.haskell.org/packages/filepath.git/commitdiff/f4e568e3f4101d3325016e73cf9809d6b815d1da
>---------------------------------------------------------------
commit f4e568e3f4101d3325016e73cf9809d6b815d1da
Author: Neil Mitchell <ndmitchell at gmail.com>
Date: Wed Oct 29 08:10:34 2014 +0000
Rename FilePath_Test to Test
>---------------------------------------------------------------
f4e568e3f4101d3325016e73cf9809d6b815d1da
Generate.hs | 2 +-
filepath.cabal | 2 +-
tests/{FilePath_Test.hs => Test.hs} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Generate.hs b/Generate.hs
index 8453818..52efebd 100755
--- a/Generate.hs
+++ b/Generate.hs
@@ -19,7 +19,7 @@ main :: IO ()
main = do
src <- readFile "System/FilePath/Internal.hs"
let tests = concatMap getTest $ zip [1..] (lines src)
- writeFileBinary "tests/FilePath_Test.hs" (prefix ++ genTests tests)
+ writeFileBinary "tests/Test.hs" (prefix ++ genTests tests)
prefix = unlines
["import AutoTest"
diff --git a/filepath.cabal b/filepath.cabal
index e1d5615..069ce29 100644
--- a/filepath.cabal
+++ b/filepath.cabal
@@ -49,7 +49,7 @@ library
test-suite filepath-tests
type: exitcode-stdio-1.0
default-language: Haskell98
- main-is: FilePath_Test.hs
+ main-is: Test.hs
hs-source-dirs: tests
other-modules: AutoTest
build-depends:
diff --git a/tests/FilePath_Test.hs b/tests/Test.hs
similarity index 100%
rename from tests/FilePath_Test.hs
rename to tests/Test.hs
More information about the ghc-commits
mailing list