Skip to content

Commit ddedd20

Browse files
committed
wip
1 parent 328ef97 commit ddedd20

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

plutus-core/untyped-plutus-core/testlib/Flat/Spec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import PlutusCore.Generators.QuickCheck.Builtin ()
2222
import PlutusCore.Name.Unique (Name (..), TyName (..), Unique (..))
2323
import Test.Tasty
2424
import Test.Tasty.HUnit
25-
import Test.Tasty.QuickCheck
25+
import Test.Tasty.QuickCheck hiding (Some)
2626
import Universe (Some (..), ValueOf (..))
2727
import UntypedPlutusCore.Core.Type
2828

plutus-ledger-api/test/Spec/V1/Data/Value.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ x <=> y = x === y .&&. y === x
2626
x </> y = x =/= y .&&. y =/= x
2727

2828
scaleTestsBy :: Testable prop => Int -> prop -> Property
29-
scaleTestsBy factor = withMaxSuccess (100 * factor) . mapSize (* factor)
29+
scaleTestsBy factor = withNumTests (100 * factor) . mapSize (* factor)
3030

3131
{-| Apply a function to an arbitrary number of elements of the given list. The elements are chosen
3232
at random. -}

plutus-ledger-api/test/Spec/V1/Value.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ x <=> y = x === y .&&. y === x
2727
x </> y = x =/= y .&&. y =/= x
2828

2929
scaleTestsBy :: Testable prop => Int -> prop -> Property
30-
scaleTestsBy factor = withMaxSuccess (100 * factor) . mapSize (* factor)
30+
scaleTestsBy factor = withNumTests (100 * factor) . mapSize (* factor)
3131

3232
{-| Apply a function to an arbitrary number of elements of the given list. The elements are chosen
3333
at random. -}

plutus-tx-plugin/test-ledger-api/Spec/Data/MintValue/V3.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ test_Plinth_MintValueBurnedIsPositive =
145145

146146
scaleTestsBy :: QC.Testable prop => Haskell.Int -> prop -> QC.Property
147147
scaleTestsBy factor =
148-
QC.withMaxSuccess (100 Haskell.* factor) . QC.mapSize (Haskell.* factor)
148+
QC.withNumTests (100 Haskell.* factor) . QC.mapSize (Haskell.* factor)
149149

150150
cekProp :: CompiledCode Bool -> Property
151151
cekProp code = evaluationResultMatchesHaskell code (===) True

plutus-tx-plugin/test-ledger-api/Spec/MintValue/V3.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ test_Plinth_MintValueBurnedIsPositive =
145145

146146
scaleTestsBy :: QC.Testable prop => Haskell.Int -> prop -> QC.Property
147147
scaleTestsBy factor =
148-
QC.withMaxSuccess (100 Haskell.* factor) . QC.mapSize (Haskell.* factor)
148+
QC.withNumTests (100 Haskell.* factor) . QC.mapSize (Haskell.* factor)
149149

150150
cekProp :: CompiledCode Bool -> Property
151151
cekProp code = evaluationResultMatchesHaskell code (===) True

plutus-tx-plugin/test-ledger-api/Spec/Value/WithCurrencySymbol.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ test_Plinth_CorrectTokenQuantitiesAreSelected =
112112

113113
scaleTestsBy :: Testable prop => Haskell.Int -> prop -> Property
114114
scaleTestsBy factor =
115-
withMaxSuccess (100 Haskell.* factor) . mapSize (Haskell.* factor)
115+
withNumTests (100 Haskell.* factor) . mapSize (Haskell.* factor)
116116

117117
cekProp :: CompiledCode Bool -> Property
118118
cekProp code = evaluationResultMatchesHaskell code (===) True

0 commit comments

Comments
 (0)