@@ -14,23 +14,23 @@ setup :: IO ()
1414setup = void (Integration.reset *> Integration.loadAll)
1515
1616spec :: Spec
17−spec = beforeAll_ setup $ do
17+spec = beforeAll_ setup $
1818 describe "Sourcefile Integration" $ do
19− it "finds a value declaration" $ do
19+ it "finds a value declaration" $
2020 testCase "sfValue" (3, 1)
21− it "finds a type declaration" $ do
21+ it "finds a type declaration" $
2222 testCase "SFType" (5, 1)
23− it "finds a data declaration" $ do
23+ it "finds a data declaration" $
2424 testCase "SFData" (7, 1)
25− it "finds a data constructor" $ do
25+ it "finds a data constructor" $
2626 testCase "SFOne" (7, 1)
27− it "finds a typeclass" $ do
27+ it "finds a typeclass" $
2828 testCase "SFClass" (9, 1)
29− it "finds a typeclass member" $ do
29+ it "finds a typeclass member" $
3030 testCase "sfShow" (10, 3)
3131
3232testCase :: Text -> (Int, Int) -> IO ()
3333testCase s (x, y) = do
34− (P.SourceSpan f (P.SourcePos l c) _):_ <- Integration.getInfo s
34+ P.SourceSpan f (P.SourcePos l c) _ : _ <- Integration.getInfo s
3535 toS f `shouldSatisfy` T.isSuffixOf "SourceFileSpec.purs"
3636 (l, c) `shouldBe` (x, y)