Skip to content

Commit

Permalink
TOSQUASH add separator blank line between awkward-to-align bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrisby committed Jan 14, 2021
1 parent b472801 commit b4c31f6
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions ouroboros-consensus-test/test-consensus/Test/Consensus/Mempool.hs
Expand Up @@ -233,16 +233,19 @@ prop_pure_invalidTxsNeverAdded :: TestSetupWithTxs -> Property
prop_pure_invalidTxsNeverAdded setup@TestSetupWithTxs {..} =
withInternalState testSetup $
\mpArgs internalState _ledgerState ->
let MempoolSnapshot { snapshotTxs = ta } = implSnapshotFromIS
internalState
txsInMempoolBefore = map fst ta
(_res, internalState') = runTryAddTxs
mpArgs
internalState
(allTxs setup)
MempoolSnapshot { snapshotTxs = tb } = implSnapshotFromIS
internalState'
txsInMempoolAfter = map fst tb
let MempoolSnapshot { snapshotTxs = ta } =
implSnapshotFromIS internalState

txsInMempoolBefore = map fst ta
(_res, internalState') = runTryAddTxs
mpArgs
internalState
(allTxs setup)

MempoolSnapshot { snapshotTxs = tb } =
implSnapshotFromIS internalState'

txsInMempoolAfter = map fst tb
in counterexample (ppTxs txs) $ conjoin
-- Check for each transaction in the mempool (ignoring those already
-- in the mempool beforehand) that it was a valid transaction.
Expand Down

0 comments on commit b4c31f6

Please sign in to comment.