ghc-mod/test/FindSpec.hs
2014-08-20 12:14:27 +09:00

12 lines
308 B
Haskell

module FindSpec where
import Language.Haskell.GhcMod.Find
import Test.Hspec
spec :: Spec
spec = do
describe "db <- loadSymbolDb" $ do
it "lookupSymbol' db \"head\" contains at least `Data.List'" $ do
db <- loadSymbolDb
lookupSym "head" db `shouldContain` ["Data.List"]