packages feed

githash-0.1.0.0: test/GitHashSpec.hs

{-# LANGUAGE TemplateHaskell #-}
module GitHashSpec
  ( spec
  ) where

import GitHash
import Test.Hspec

spec :: Spec
spec = do
  it "sanity" $ do
    let gi = $$tGitInfoCwd
    giCommitCount gi `shouldSatisfy` (>= 1)