Rename FilePath_Test to Test
authorNeil Mitchell <ndmitchell@gmail.com>
Wed, 29 Oct 2014 08:10:34 +0000 (08:10 +0000)
committerNeil Mitchell <ndmitchell@gmail.com>
Wed, 29 Oct 2014 08:10:34 +0000 (08:10 +0000)
Generate.hs
filepath.cabal
tests/Test.hs [moved from tests/FilePath_Test.hs with 100% similarity]

index 8453818..52efebd 100755 (executable)
@@ -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"
index e1d5615..069ce29 100644 (file)
@@ -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:
similarity index 100%
rename from tests/FilePath_Test.hs
rename to tests/Test.hs