File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,14 @@ import Purepur.Parser
55import Data.Text as T
66import qualified Language.PureScript.Names as Purs
77import qualified Language.PureScript.AST as AST
8+ import Purepur.Types
89import qualified Language.PureScript.Interactive.Types as Psci
910
1011
1112main :: IO ()
1213main = hspec $
1314 describe " Parse Comment" $ do
14- let importT = Command [ Psci. Import (Purs. ModuleName [Purs. ProperName " T" ], AST. Implicit , Nothing ) ]
15+ let importT = Command $ Psci. Import (Purs. ModuleName [Purs. ProperName " T" ], AST. Implicit , Nothing )
1516
1617 it " simple output" $
1718 parseInfoBlock " asd" `shouldBe` Right [ExpectedOutput " asd" ]
@@ -23,4 +24,7 @@ main = hspec $
2324 parseInfoBlock " > import\n T" `shouldBe` Right [importT]
2425
2526 it " multi-statement" $
26- parseInfoBlock " > import\n T\n 123" `shouldBe` Right [importT, ExpectedOutput " 123" ]
27+ parseInfoBlock " > import\n T\n 123" `shouldBe` Right [importT, ExpectedOutput " 123" ]
28+ -- describe "Pretty Print" $ do
29+ -- it "print qualified op" $
30+ -- pretty
You can’t perform that action at this time.
0 commit comments