Keep Tests.Arbitrary but remove quickcheck tests for now.
Remove Tests.Shared. Remove dependency on QuickCheck.
This commit is contained in:
parent
09e9a86db9
commit
0222f367b1
3 changed files with 1 additions and 18 deletions
|
@ -305,10 +305,8 @@ Executable test-pandoc
|
|||
Extensions: CPP
|
||||
Build-Depends: base >= 4 && < 5, Diff, test-framework >= 0.3 && < 0.4,
|
||||
test-framework-hunit >= 0.2 && < 0.3,
|
||||
test-framework-quickcheck2 >= 0.2 && < 0.3,
|
||||
HUnit >= 1.2 && < 1.3, QuickCheck >= 2.3 && < 2.5
|
||||
HUnit >= 1.2 && < 1.3
|
||||
Other-Modules: Tests.Old
|
||||
Tests.Helpers
|
||||
Tests.Arbitrary
|
||||
Tests.Shared
|
||||
Tests.Readers.LaTeX
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
module Tests.Shared (tests) where
|
||||
import Test.Framework.Providers.QuickCheck2
|
||||
import Test.Framework
|
||||
import Tests.Arbitrary
|
||||
import Text.Pandoc.Shared
|
||||
import Text.Pandoc
|
||||
|
||||
normalize_rt :: Pandoc -> Bool
|
||||
normalize_rt d = normalize (normalize d) == normalize d
|
||||
|
||||
tests :: [Test]
|
||||
tests = [ testProperty "normalize_rt" normalize_rt ]
|
||||
|
|
@ -6,14 +6,12 @@ import Test.Framework
|
|||
|
||||
import qualified Tests.Old
|
||||
import qualified Tests.Readers.LaTeX
|
||||
import qualified Tests.Shared
|
||||
|
||||
tests :: [Test]
|
||||
tests = [ testGroup "Old" Tests.Old.tests
|
||||
, testGroup "Readers"
|
||||
[ testGroup "LaTeX" Tests.Readers.LaTeX.tests
|
||||
]
|
||||
, testGroup "Shared" Tests.Shared.tests
|
||||
]
|
||||
|
||||
main :: IO ()
|
||||
|
|
Loading…
Reference in a new issue