[commit: packages/filepath] master: Rename AutoTest to TestUtil (e0684e9)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:36:32 UTC 2015


Repository : ssh://git@git.haskell.org/filepath

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/e0684e9e79f9fdcb8f719a442a905bbbe1fb06b3

>---------------------------------------------------------------

commit e0684e9e79f9fdcb8f719a442a905bbbe1fb06b3
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Wed Oct 29 08:31:02 2014 +0000

    Rename AutoTest to TestUtil


>---------------------------------------------------------------

e0684e9e79f9fdcb8f719a442a905bbbe1fb06b3
 Generate.hs                        | 2 +-
 filepath.cabal                     | 2 +-
 tests/Test.hs                      | 2 +-
 tests/{AutoTest.hs => TestUtil.hs} | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Generate.hs b/Generate.hs
index 48e88c6..9d7dcc0 100755
--- a/Generate.hs
+++ b/Generate.hs
@@ -23,7 +23,7 @@ main = do
 
 prefix = unlines
     ["module Test(main) where"
-    ,"import AutoTest"
+    ,"import TestUtil"
     ,"import qualified System.FilePath.Windows as W"
     ,"import qualified System.FilePath.Posix as P"
     ,"main :: IO ()"
diff --git a/filepath.cabal b/filepath.cabal
index 70c4520..fcd3f1b 100644
--- a/filepath.cabal
+++ b/filepath.cabal
@@ -53,7 +53,7 @@ test-suite filepath-tests
     ghc-options: -main-is Test
     hs-source-dirs: tests
     other-modules:
-        AutoTest
+        TestUtil
     build-depends:
         filepath,
         base,
diff --git a/tests/Test.hs b/tests/Test.hs
index c5fb57d..13b023b 100755
--- a/tests/Test.hs
+++ b/tests/Test.hs
@@ -1,5 +1,5 @@
 module Test(main) where
-import AutoTest
+import TestUtil
 import qualified System.FilePath.Windows as W
 import qualified System.FilePath.Posix as P
 main :: IO ()
diff --git a/tests/AutoTest.hs b/tests/TestUtil.hs
similarity index 96%
rename from tests/AutoTest.hs
rename to tests/TestUtil.hs
index 2781543..acd91ec 100644
--- a/tests/AutoTest.hs
+++ b/tests/TestUtil.hs
@@ -1,6 +1,6 @@
 
-module AutoTest(
-    module AutoTest,
+module TestUtil(
+    module TestUtil,
     module Test.QuickCheck,
     module Data.List
     ) where



More information about the ghc-commits mailing list