inited tr tests
This commit is contained in:
parent
b135d8f0b2
commit
131806f9a7
3 changed files with 22 additions and 2 deletions
|
|
@ -24,7 +24,12 @@ import Plutus.V1.Ledger.Scripts (Script)
|
|||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
policySucceedsWith :: String -> ClosedTerm PMintingPolicy -> ClosedTerm PData -> _ -> TestTree
|
||||
policySucceedsWith ::
|
||||
String ->
|
||||
ClosedTerm PMintingPolicy ->
|
||||
ClosedTerm PData ->
|
||||
_ ->
|
||||
TestTree
|
||||
policySucceedsWith tag policy redeemer scriptContext =
|
||||
scriptSucceeds tag $ compile (policy # redeemer # pconstant scriptContext)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue