Skip to content

Commit 5e415e4

Browse files
palascarbolymer
andauthored
Replace evalEitherM and readJsonFile with readJsonFileOk
Co-authored-by: Mateusz Galazyn <[email protected]>
1 parent e25b52f commit 5e415e4

File tree

1 file changed

+1
-1
lines changed
  • cardano-cli/test/cardano-cli-test/Test/Cli/Transaction

1 file changed

+1
-1
lines changed

cardano-cli/test/cardano-cli-test/Test/Cli/Transaction/Build.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ hprop_conway_calculate_plutus_script_cost_offline = propertyOnce $ H.moduleWorks
199199
, costOutFile
200200
]
201201

202-
json :: Aeson.Value <- H.evalEitherM $ H.readJsonFile costOutFile
202+
json :: Aeson.Value <- H.readJsonFileOk costOutFile
203203

204204
lovelaceCost <- H.evalMaybe $ json ^? Aeson.nth 0 . Aeson.key "lovelaceCost" . Aeson._Number
205205
lovelaceCost === 34

0 commit comments

Comments
 (0)