Skip to content

Commit

Permalink
Remove uniques from some golden files (IntersectMBO#6402)
Browse files Browse the repository at this point in the history
  • Loading branch information
zliu41 authored Aug 9, 2024
1 parent eafa4c5 commit ffe8f15
Show file tree
Hide file tree
Showing 8 changed files with 9,758 additions and 10,722 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Cardano.Constitution.Validator.TestsCommon
import Helpers.TestBuilders
import PlutusCore.Evaluation.Machine.ExBudget
import PlutusCore.Evaluation.Machine.ExBudgetingDefaults
import PlutusCore.Pretty (prettyPlcReadable)
import PlutusCore.Pretty (prettyPlcReadableSimple)
import PlutusLedgerApi.V3 as V3
import PlutusLedgerApi.V3.ArbitraryContexts as V3
import PlutusTx.Code as Tx
Expand Down Expand Up @@ -56,13 +56,13 @@ test_budget_small = testGroup "BudgetSmall" $ M.elems $
test_readable_pir = testGroup "ReadablePir" $ M.elems $
(\vName (_, vCode) ->
goldenVsString vName (mkPath vName ["pir"]) $
pure $ fromString $ show $ prettyPlcReadable $ fromJust $ getPirNoAnn vCode
pure $ fromString $ show $ prettyPlcReadableSimple $ fromJust $ getPirNoAnn vCode
)`M.mapWithKey` defaultValidatorsWithCodes

test_readable_uplc = testGroup "ReadableUplc" $ M.elems $
(\vName (_, vCode) ->
goldenVsString vName (mkPath vName ["uplc"]) $
pure $ fromString $ show $ prettyPlcReadable $ getPlcNoAnn vCode
pure $ fromString $ show $ prettyPlcReadableSimple $ getPlcNoAnn vCode
)`M.mapWithKey` defaultValidatorsWithCodes

tests :: TestTreeWithTestState
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit ffe8f15

Please sign in to comment.