Skip to content

Commit

Permalink
Add a couple HasCallStack noci
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Dec 5, 2024
1 parent fe7defd commit 87a2277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/TestLib/TestSearchers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ import UnliftIO.Process
-- Testing for successful build

testKernelSearchersBuild :: (
MonadIO m, MonadMask m, MonadUnliftIO m, MonadBaseControl IO m
HasCallStack, MonadIO m, MonadMask m, MonadUnliftIO m, MonadBaseControl IO m
, HasBaseContext context, HasBootstrapNixpkgs context
) => Text -> SpecFree context m ()
testKernelSearchersBuild kernel = it [i|#{kernel}: package searchers build|] $ do
void $ testBuild [i|kernels."#{kernel}".packageSearch|]

testHasExpectedFields :: (
MonadIO m, MonadMask m, MonadUnliftIO m, MonadBaseControl IO m
HasCallStack, MonadIO m, MonadMask m, MonadUnliftIO m, MonadBaseControl IO m
, HasBaseContext context, HasBootstrapNixpkgs context
) => Text -> SpecFree context m ()
testHasExpectedFields kernel = it [i|#{kernel}: has expected fields|] $ do
Expand Down

0 comments on commit 87a2277

Please sign in to comment.