mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
Scale down the sizes by a factor of four.
This commit is contained in:
parent
a5af331f71
commit
58138d5867
@ -31,7 +31,7 @@ spec = parallel $ do
|
||||
|
||||
describe "rws" $ do
|
||||
let compare a b = if extract a == extract b then Just (pure (Replace a b)) else Nothing
|
||||
prop "produces correct diffs" $
|
||||
prop "produces correct diffs" . forAll (scale (`div` 4) arbitrary) $
|
||||
\ (as, bs) -> let tas = toTerm <$> as
|
||||
tbs = toTerm <$> bs
|
||||
diff = free (Free (pure Program :< Indexed (rws compare identity tas tbs :: [Diff Text Category]))) in
|
||||
|
Loading…
Reference in New Issue
Block a user