Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
Remove dead code from test/InfoSpec.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
alang9 authored and Mitsutoshi Aoe committed Aug 2, 2016
1 parent 23e5f88 commit 319587d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/InfoSpec.hs
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
{-# LANGUAGE CPP #-}
module InfoSpec where

import Control.Applicative
import Data.List (isPrefixOf)
import Language.Haskell.GhcMod
#if __GLASGOW_HASKELL__ < 706
import System.Environment.Executable (getExecutablePath)
#else
import System.Environment (getExecutablePath)
#endif
import System.FilePath
import Test.Hspec
import TestUtils
import Prelude
Expand Down Expand Up @@ -62,5 +55,3 @@ spec = do
res <- runD' tdir $ info "ImportsTH.hs" $ Expression "bar"
res `shouldSatisfy` ("bar :: [Char]" `isPrefixOf`)

getDistDir :: IO FilePath
getDistDir = takeDirectory . takeDirectory . takeDirectory <$> getExecutablePath

0 comments on commit 319587d

Please sign in to comment.