35690941aa
- Remove Language.Haskell prefix from all modules - Move 'GHCMod.*' to 'GhcMod.Exe' - Move 'GhcModExe' to 'GhcMod.Exe'
14 lines
367 B
Haskell
14 lines
367 B
Haskell
{-# LANGUAGE OverloadedStrings #-}
|
|
module FindSpec where
|
|
|
|
import GhcMod.Exe.Find
|
|
import Test.Hspec
|
|
import TestUtils
|
|
|
|
spec :: Spec
|
|
spec = do
|
|
describe "db <- loadSymbolDb" $ do
|
|
it "lookupSymbol' db \"head\" contains at least `Data.List'" $ do
|
|
db <- runD $ loadSymbolDb
|
|
lookupSym "head" db `shouldContain` [ModuleString "Data.List"]
|