We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5be991 commit de35817Copy full SHA for de35817
test/Spec/BotPlutusInterface/Contract.hs
@@ -885,10 +885,10 @@ commandEqual :: Text -> Text -> Bool
885
commandEqual "" "" = True
886
commandEqual "" _ = False
887
commandEqual _ "" = False
888
-commandEqual expected actual = maybe False (on commandEqual dropToSpace postExp) mRestAct
+commandEqual expected actual = maybe False (on commandEqual dropToSpace postExp) mPostAct
889
where
890
(preExp, postExp) = Text.breakOn "?" expected
891
- mRestAct = Text.stripPrefix preExp actual
+ mPostAct = Text.stripPrefix preExp actual
892
dropToSpace = Text.dropWhile (/= ' ')
893
894
assertCommandCalled :: forall (w :: Type). MockContractState w -> Text -> Assertion
0 commit comments