File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11{-# LANGUAGE ScopedTypeVariables #-}
22
3- module FeatureSpec ( spec ) where
3+ module FeatureSpec ( main , spec ) where
44
55import qualified Hi.Cli as Cli
66import Hi.Directory (inDirectory )
@@ -23,6 +23,9 @@ import Test.Hspec
2323
2424import Paths_hi (version )
2525
26+ main :: IO ()
27+ main = hspec spec
28+
2629spec :: Spec
2730spec = do
2831 describe " with command line options" $ do
Original file line number Diff line number Diff line change 1- module Hi.GitSpec ( spec ) where
1+ module Hi.GitSpec ( main , spec ) where
22
33import Hi.Git
44
55import Test.Hspec
66
7+ main :: IO ()
8+ main = hspec spec
9+
710spec :: Spec
811spec = do
912 let fullUrl
= " [email protected] :fujimura/hi.git"
Original file line number Diff line number Diff line change 11{-# LANGUAGE OverloadedStrings #-}
22
3- module HiSpec ( spec ) where
3+ module HiSpec ( main , spec ) where
44
55import Hi (process )
66import Hi.Types
@@ -9,6 +9,9 @@ import Data.ByteString.Char8 (unpack)
99import Data.Maybe (fromJust , isJust )
1010import Test.Hspec
1111
12+ main :: IO ()
13+ main = hspec spec
14+
1215options :: Option
1316options = Option { initializeGitRepository = True
1417 , packageName = " testapp"
You can’t perform that action at this time.
0 commit comments