Skip to content

Commit

Permalink
fix stack build #3
Browse files Browse the repository at this point in the history
  • Loading branch information
winterland1989 committed May 18, 2016
1 parent 3140e17 commit 4edd987
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bench/main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE TypeFamilies #-}

import Control.Monad
import Data.Proxy
Expand Down Expand Up @@ -90,13 +91,13 @@ main = do
unless (benchApiaryBenchmark param == Just (T.replicate 12 "foo")) $ fail "param: result not matched"
unless (benchApiaryBenchmark deep == Just "100") $ fail "deep: result not matched"
unless (benchApiaryBenchmark after == Just "after") $ fail "after: result not matched"

defaultMain
[ bench "largePath" $ nf benchLargePath testLargePath
, bgroup "apiary"
[ bench "hello" $ nf benchApiaryBenchmark hello
, bench "param" $ nf benchApiaryBenchmark param
, bench "deep" $ nf benchApiaryBenchmark deep
, bench "after" $ nf benchApiaryBenchmark after
, bench "after" $ nf benchApiaryBenchmark after
]
]

0 comments on commit 4edd987

Please sign in to comment.