File: Util.hs

package info (click to toggle)
haskell-generic-lens 2.2.2.0-2
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 228 kB
  • sloc: haskell: 1,378; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
module Util where

import Test.Inspection
import Test.HUnit.Base

mkHUnitTest :: Result -> Test
mkHUnitTest r = TestCase $
  case r of
    Success _s -> return ()
    Failure s -> assertFailure s