Skip to content

Commit

Permalink
assert the reset service has worked as expected (digital-asset#2305)
Browse files Browse the repository at this point in the history
* assert the reset service has worked as expected

* flipping hlint
  • Loading branch information
nickchapman-da authored Jul 26, 2019
1 parent d84afb6 commit 77ed83b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions language-support/hs/bindings/test/DA/Ledger/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,8 @@ resetSandbox :: Sandbox-> IO ()
resetSandbox sandbox = runWithSandbox sandbox $ do
lid <- getLedgerIdentity
Ledger.reset lid
lid2 <- getLedgerIdentity
unless (lid /= lid2) $ fail "resetSandbox: reset did not change the ledger-id"

----------------------------------------------------------------------
-- misc expectation combinators
Expand Down

0 comments on commit 77ed83b

Please sign in to comment.