File: Main.hs

package info (click to toggle)
haskell-path 0.9.6-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 432 kB
  • sloc: haskell: 3,246; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- | Test suite.
module Main (main) where

import Test.Hspec
import Test.Hspec.QuickCheck (modifyMaxShrinks)

import qualified Posix
--import qualified Windows

-- | Test suite entry point, returns exit failure if any test fails.
main :: IO ()
main = hspec spec

-- | Test suite.
spec :: Spec
spec =
  modifyMaxShrinks (const 100) $
  parallel $ do
    Posix.spec
    -- See https://github.com/commercialhaskell/path/issues/74
    -- Windows.spec