1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00

Add quickcheck-text to generate arbitrary utf-8

This commit is contained in:
joshvera 2015-12-15 15:03:10 -05:00
parent 30132a94de
commit 9d10f8ba4f
2 changed files with 4 additions and 1 deletions

View File

@ -91,9 +91,10 @@ test-suite semantic-diff-test
, QuickCheck >= 2.8.1
, semantic-diff
, text >= 1.2.1.3
, quickcheck-text
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
default-extensions: DeriveGeneric
default-extensions: DeriveGeneric, OverloadedStrings
source-repository head
type: git

View File

@ -20,6 +20,8 @@ import GHC.Generics
import Test.Hspec
import Test.Hspec.QuickCheck
import Test.QuickCheck hiding (Fixed)
import Data.Text.Arbitrary ()
import qualified Data.Text as T
newtype ArbitraryTerm a annotation = ArbitraryTerm (annotation, (Syntax a (ArbitraryTerm a annotation)))
deriving (Show, Eq, Generic)