Skip to content

Commit 94925a8

Browse files
authored
Fixed formatting for fourmolu check in CI (#354)
1 parent 4959e14 commit 94925a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

leios-trace-verifier/hs-src/app/Main.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ main =
3434
. decodeJSONL
3535
<$> BSL.readFile logFile
3636
hPutStrLn stderr $ "Applying " <> show (fst result) <> " actions"
37-
unless (snd result == "ok")
38-
$ do
37+
unless (snd result == "ok") $
38+
do
3939
putStrLn . T.unpack $ snd result
4040
exitFailure
4141

leios-trace-verifier/hs-src/test/Spec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
module Main where
77

8-
import qualified Paths_trace_parser as Paths
98
import Control.Monad (forM_)
109
import Data.ByteString.Lazy as BSL (readFile)
1110
import Data.List (sort)
@@ -16,6 +15,7 @@ import LeiosConfig (Config (..))
1615
import LeiosEvents (decodeJSONL)
1716
import LeiosTopology (LocationKind (COORD2D), Node (..), NodeInfo (..), NodeName (..), Topology (..))
1817
import Lib (verifyTrace)
18+
import qualified Paths_trace_parser as Paths
1919
import System.Directory (listDirectory)
2020
import System.FilePath ((</>))
2121
import Test.Hspec (Expectation, SpecWith, describe, hspec, it, shouldBe, shouldNotBe)

0 commit comments

Comments
 (0)