Skip to content

Commit

Permalink
Merge pull request #4 from sol/master
Browse files Browse the repository at this point in the history
Some minor .cabal/README fixes
  • Loading branch information
finnsson committed Jun 21, 2011
2 parents 9c57471 + f06f4f6 commit 74a7080
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.markdown
Expand Up @@ -15,7 +15,7 @@ Haskell-module to automagically generate repetetive code when writing HUnit/Quic
### example

-- file SomeModule.hs
{-# OPTIONS_GHC -fglasgow-exts -XTemplateHaskell #-}
{-# LANGUAGE TemplateHaskell #-}
module SomeModule where
import Test.Framework.TH
import Test.Framework
Expand All @@ -35,7 +35,7 @@ is the same as


-- file SomeModule.hs
{-# OPTIONS_GHC -fglasgow-exts -XTemplateHaskell #-}
{-# LANGUAGE TemplateHaskell #-}
module SomeModule where
import Test.Framework.TH
import Test.Framework
Expand Down Expand Up @@ -66,7 +66,7 @@ is the same as


-- file SomeModule.hs
{-# OPTIONS_GHC -fglasgow-exts -XTemplateHaskell #-}
{-# LANGUAGE TemplateHaskell #-}
module SomeModule where
import Test.Framework.TH
import Test.Framework
Expand All @@ -85,7 +85,7 @@ is the same as
will automagically extract prop_reverse, case_1 and case_2 and run them as well as present them as belonging to the testGroup 'SomeModule'. The above code is the same as

-- file SomeModule.hs
{-# OPTIONS_GHC -fglasgow-exts -XTemplateHaskell #-}
{-# LANGUAGE TemplateHaskell #-}
module SomeModule where
import Test.Framework.TH
import Test.Framework
Expand Down
6 changes: 3 additions & 3 deletions test-framework-th.cabal
Expand Up @@ -13,7 +13,7 @@ description:
@defaultMainGenerator@ will extract all functions beginning with case_ or prop_ in the module and put them in a testGroup.
.
> -- file SomeModule.hs
> ( -# OPTIONS_GHC -fglasgow-exts -XTemplateHaskell #- )
> ( -# LANGUAGE TemplateHaskell #- )
> module SomeModule where
> import Test.Framework.TH
> import Test.Framework
Expand All @@ -31,7 +31,7 @@ description:
is the same as
.
> -- file SomeModule.hs
> ( -# OPTIONS_GHC -fglasgow-exts -XTemplateHaskell #- )
> ( -# LANGUAGE TemplateHaskell #- )
> module SomeModule where
> import Test.Framework.TH
> import Test.Framework
Expand Down Expand Up @@ -63,4 +63,4 @@ library

source-repository head
type: git
location: https://github.com/finnsson/test-framework-th/
location: https://github.com/finnsson/test-generator.git

0 comments on commit 74a7080

Please sign in to comment.