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:
parent
30132a94de
commit
9d10f8ba4f
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user