Skip to content

Commit

Permalink
Minor formatting improvement for some debugging lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Jenkins authored and krisajenkins committed Oct 29, 2020
1 parent b1b1292 commit 8c95736
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions playground-common/src/Auth.hs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ authStatus cookieHeader = do
"Failed to extract github token at step: " <> showText err
pure Anonymous
let authStatusResult = AuthStatus {..}
logDebugN $ "Authentication status is:" <> showText authStatusResult
logDebugN $ "Authentication status is: " <> showText authStatusResult
pure authStatusResult

extractGithubToken ::
Expand All @@ -233,7 +233,7 @@ extractGithubToken signer now cookieHeader =
Map.lookup githubTokenClaim .
JWT.unClaimsMap . JWT.unregisteredClaims $
claims
attempt $ "Extracting token as a string:" <> showText json
attempt $ "Extracting token as a string: " <> showText json
withTrace $
case json of
String token -> pure $ Token token
Expand Down
2 changes: 1 addition & 1 deletion plutus-playground-client/src/Chain.purs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ emulatorEventPane (ChainEvent (TxnValidate (TxId txId))) =

emulatorEventPane (NotificationEvent notificationEvent) =
div_
[ text $ "Notification event:" <> show notificationEvent ]
[ text $ "Notification event: " <> show notificationEvent ]

emulatorEventPane (ChainEvent (TxnValidationFail (TxId txId) error)) =
div [ class_ $ ClassName "error" ]
Expand Down
2 changes: 1 addition & 1 deletion plutus-scb/test/Plutus/SCB/CoreSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ assertEqual msg expected actual =
$ Text.unwords
[ msg
, "Expected: " <> tshow expected
, "Actual:" <> tshow actual
, "Actual: " <> tshow actual
]

assertBool ::
Expand Down

0 comments on commit 8c95736

Please sign in to comment.