Skip to content

Commit

Permalink
just call out to testMain
Browse files Browse the repository at this point in the history
  • Loading branch information
spatten committed May 28, 2024
1 parent a6755b5 commit 395ff9e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
1 change: 0 additions & 1 deletion spectrometer.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ library
App.Fossa.RunThemis
App.Fossa.SBOM
App.Fossa.SBOM.Analyze
App.Fossa.SBOM.Test
App.Fossa.Snippets
App.Fossa.Snippets.Analyze
App.Fossa.Snippets.Commit
Expand Down
4 changes: 2 additions & 2 deletions src/App/Fossa/SBOM.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import App.Fossa.Config.SBOM (
)
import App.Fossa.Config.SBOM qualified as Config
import App.Fossa.SBOM.Analyze qualified as Analyze
import App.Fossa.SBOM.Test qualified as Test
import App.Fossa.Subcommand (SubCommand)
import App.Fossa.Test (testMain)
import Codec.Compression.GZip qualified as GZip
import Control.Carrier.Debug (ignoreDebug)
import Control.Carrier.Diagnostics qualified as Diag
Expand Down Expand Up @@ -52,4 +52,4 @@ dispatch = \case
sendIO . BL.writeFile debugBundlePath . GZip.compress $ Aeson.encode scope
Diag.rethrow res
_ -> ignoreDebug $ Analyze.analyze cfg
TestCfg cfg -> Test.test cfg
TestCfg cfg -> testMain cfg
22 changes: 0 additions & 22 deletions src/App/Fossa/SBOM/Test.hs

This file was deleted.

0 comments on commit 395ff9e

Please sign in to comment.