Skip to content

Commit

Permalink
coding stanrdards
Browse files Browse the repository at this point in the history
remove redundant trace
  • Loading branch information
paweljakubas committed Dec 16, 2024
1 parent 7c674c9 commit 7a3a998
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion command-line/lib/Command/Script/Hash.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}

Expand Down
4 changes: 1 addition & 3 deletions command-line/test/Command/Script/HashSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import Test.Hspec
import Test.Utils
( cli, describeCmd )

import qualified Debug.Trace as TR

spec :: Spec
spec = do
describeCmd [ "script", "hash" ] $ do
Expand Down Expand Up @@ -163,7 +161,7 @@ spec = do
specScriptHashProper :: String -> String -> SpecWith ()
specScriptHashProper expected script = it (script <> " => " <> expected) $ do
out <- cli ["script", "hash", script] ""
TR.trace("out: "<> show out) $ out `shouldBe` expected
out `shouldBe` expected

specScriptInvalid :: ErrValidateScript -> String -> SpecWith ()
specScriptInvalid errMsg script = it (script <> " => " <> show errMsg) $ do
Expand Down

0 comments on commit 7a3a998

Please sign in to comment.