From 3c5f06f41d3f13277109bc11906abcf3020d66f4 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 19 Jul 2018 13:26:02 +0800 Subject: [PATCH] Remove redundant imports in tests --- test/HPath/IO/AppendFileSpec.hs | 1 - test/HPath/IO/ReadFileEOFSpec.hs | 1 - test/HPath/IO/ReadFileSpec.hs | 1 - test/HPath/IO/WriteFileSpec.hs | 1 - test/Utils.hs | 3 --- 5 files changed, 7 deletions(-) diff --git a/test/HPath/IO/AppendFileSpec.hs b/test/HPath/IO/AppendFileSpec.hs index c1c5b79..40bf4f5 100644 --- a/test/HPath/IO/AppendFileSpec.hs +++ b/test/HPath/IO/AppendFileSpec.hs @@ -13,7 +13,6 @@ import GHC.IO.Exception ( IOErrorType(..) ) -import System.Process import Utils diff --git a/test/HPath/IO/ReadFileEOFSpec.hs b/test/HPath/IO/ReadFileEOFSpec.hs index cb519f5..6a92b52 100644 --- a/test/HPath/IO/ReadFileEOFSpec.hs +++ b/test/HPath/IO/ReadFileEOFSpec.hs @@ -13,7 +13,6 @@ import GHC.IO.Exception ( IOErrorType(..) ) -import System.Process import Utils diff --git a/test/HPath/IO/ReadFileSpec.hs b/test/HPath/IO/ReadFileSpec.hs index b844c30..61ec566 100644 --- a/test/HPath/IO/ReadFileSpec.hs +++ b/test/HPath/IO/ReadFileSpec.hs @@ -13,7 +13,6 @@ import GHC.IO.Exception ( IOErrorType(..) ) -import System.Process import Utils diff --git a/test/HPath/IO/WriteFileSpec.hs b/test/HPath/IO/WriteFileSpec.hs index 0bbbbdb..3718e0e 100644 --- a/test/HPath/IO/WriteFileSpec.hs +++ b/test/HPath/IO/WriteFileSpec.hs @@ -13,7 +13,6 @@ import GHC.IO.Exception ( IOErrorType(..) ) -import System.Process import Utils diff --git a/test/Utils.hs b/test/Utils.hs index 63845b7..49d568d 100644 --- a/test/Utils.hs +++ b/test/Utils.hs @@ -61,9 +61,6 @@ import System.Posix.Files.ByteString , unionFileModes ) -import qualified "unix" System.Posix.IO.ByteString as SPI -import qualified "unix-bytestring" System.Posix.IO.ByteString as SPB - baseTmpDir :: ByteString