File tree Expand file tree Collapse file tree 7 files changed +30
-37
lines changed
Expand file tree Collapse file tree 7 files changed +30
-37
lines changed Original file line number Diff line number Diff line change 1- {-# LANGUAGE TypeSynonymInstances, FlexibleInstances, OverloadedStrings #-}
2- {-# LANGUAGE CPP #-}
1+ {-# LANGUAGE OverloadedStrings #-}
2+
33{- |
44This module provides a simplified interface. If you want more, see "Test.Tasty.Silver.Advanced".
55
Original file line number Diff line number Diff line change 1- {-# LANGUAGE RankNTypes, OverloadedStrings #-}
2- {-# LANGUAGE CPP #-}
1+ {-# LANGUAGE OverloadedStrings #-}
32
43module Test.Tasty.Silver.Advanced
54 ( -- * Constructing golden tests
Original file line number Diff line number Diff line change 1- {-# LANGUAGE BangPatterns #-}
21{-# LANGUAGE CPP #-}
3- {-# LANGUAGE ExistentialQuantification #-}
4- {-# LANGUAGE FlexibleInstances #-}
5- {-# LANGUAGE GeneralizedNewtypeDeriving #-}
62{-# LANGUAGE ImplicitParams #-}
7- {-# LANGUAGE PatternGuards #-}
8- {-# LANGUAGE ScopedTypeVariables #-}
93
104-- | Regex filtering for test trees.
5+
116module Test.Tasty.Silver.Filter
127 ( filterWithRegex
138 , checkRF
Original file line number Diff line number Diff line change 1- {-# LANGUAGE BangPatterns #-}
21{-# LANGUAGE CPP #-}
3- {-# LANGUAGE ExistentialQuantification #-}
4- {-# LANGUAGE FlexibleContexts #-}
5- {-# LANGUAGE FlexibleInstances #-}
6- {-# LANGUAGE GeneralizedNewtypeDeriving #-}
72{-# LANGUAGE ImplicitParams #-}
8- {-# LANGUAGE PatternGuards #-}
9- {-# LANGUAGE ScopedTypeVariables #-}
103
114-- | Golden test management, interactive mode. Runs the tests, and asks
125-- the user how to proceed in case of failure or missing golden standard.
Original file line number Diff line number Diff line change 1- {-# LANGUAGE GeneralizedNewtypeDeriving #-}
2- {-# LANGUAGE PatternGuards #-}
3- {-# LANGUAGE ExistentialQuantification #-}
4- {-# LANGUAGE ScopedTypeVariables #-}
5- {-# LANGUAGE RankNTypes #-}
61
72module Test.Tasty.Silver.Interactive.Run
83 ( wrapRunTest
Original file line number Diff line number Diff line change 1- {-# LANGUAGE CPP #-}
2- {-# LANGUAGE ExistentialQuantification #-}
3- {-# LANGUAGE GeneralizedNewtypeDeriving #-}
4- {-# LANGUAGE MultiParamTypeClasses #-}
5- {-# LANGUAGE RankNTypes #-}
61
72module Test.Tasty.Silver.Internal where
83
Original file line number Diff line number Diff line change @@ -48,16 +48,13 @@ Source-repository head
4848 location : https://github.com/phile314/tasty-silver.git
4949
5050library
51- Default-language :
52- Haskell2010
53- Default-extensions :
54- LambdaCase
55- exposed-modules : Test.Tasty.Silver
56- Test.Tasty.Silver.Advanced
57- Test.Tasty.Silver.Filter
58- Test.Tasty.Silver.Interactive
59- Test.Tasty.Silver.Interactive.Run
60- Test.Tasty.Silver.Internal
51+ exposed-modules :
52+ Test.Tasty.Silver
53+ Test.Tasty.Silver.Advanced
54+ Test.Tasty.Silver.Filter
55+ Test.Tasty.Silver.Interactive
56+ Test.Tasty.Silver.Interactive.Run
57+ Test.Tasty.Silver.Internal
6158
6259 build-depends :
6360 base >= 4.9 && < 5
@@ -86,6 +83,25 @@ library
8683 , text >= 0.11.0.0
8784 , transformers >= 0.3
8885
86+ default-language :
87+ Haskell2010
88+ default-extensions :
89+ BangPatterns
90+ ExistentialQuantification
91+ FlexibleContexts
92+ FlexibleInstances
93+ GeneralizedNewtypeDeriving
94+ LambdaCase
95+ MultiParamTypeClasses
96+ PatternGuards
97+ RankNTypes
98+ ScopedTypeVariables
99+ TypeSynonymInstances
100+ other-extensions :
101+ CPP
102+ ImplicitParams
103+ OverloadedStrings
104+
89105 ghc-options :
90106 -Wall
91107 -Wno-name-shadowing
You can’t perform that action at this time.
0 commit comments