File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
plutus-ledger-api/test/Spec Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ showPV (MajorProtocolVersion pv) =
50
50
8 -> " Valentine (PV8)"
51
51
9 -> " Chang (PV9)"
52
52
10 -> " Plomin (PV10)"
53
- 11 -> " Anon ( PV11) "
53
+ 11 -> " PV11"
54
54
_ -> " <unknown> (PV" ++ show pv ++ " )"
55
55
56
56
-- Some scripts for use in the version tests.
@@ -208,11 +208,11 @@ testPermittedBuiltins =
208
208
let testBuiltins ll deserialise pv expectedGood =
209
209
let expectGood scripts =
210
210
for_ scripts $ \ (name, script) ->
211
- assertBool (name ++ " not allowed in " ++ show ll ++ " @" ++ showPV pv) $
211
+ assertBool (name ++ " should be allowed in " ++ show ll ++ " @" ++ showPV pv) $
212
212
isRight $ deserialise pv script
213
213
expectBad scripts =
214
214
for_ scripts $ \ (name, script) ->
215
- assertBool (name ++ " should be allowed in " ++ show ll ++ " @" ++ showPV pv) $
215
+ assertBool (name ++ " should not be allowed in " ++ show ll ++ " @" ++ showPV pv) $
216
216
isLeft $ deserialise pv script
217
217
in testCase (showPV pv) $ do
218
218
expectGood expectedGood
You can’t perform that action at this time.
0 commit comments