mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-12-01 22:46:10 +03:00
a0a2e6afbe
regenerate haskell nix file (drops hex dependency) apply ormolu to a few files fixup cabal file add polysemy logger interpretation of Output, fix bug in nixEvalSem bug * nixEvalSem was accidentally not stripping the output create test_data and simplify RewriteSpec to use it move Polysemy interpretation stacks closer to where polysemy methods are made eventually these will move more top level but for now this keeps it more contained update to ghc883, remove raw-strings-qq dep
34 lines
742 B
Haskell
34 lines
742 B
Haskell
module DoctestSpec where
|
|
|
|
import Test.DocTest
|
|
import Test.Hspec
|
|
|
|
main :: IO ()
|
|
main = hspec spec
|
|
|
|
spec :: Spec
|
|
spec = do
|
|
describe "Doctests" do
|
|
it "should all pass" do
|
|
doctest
|
|
[ "-isrc",
|
|
"-XOverloadedStrings",
|
|
"-XDataKinds",
|
|
"-XFlexibleContexts",
|
|
"-XGADTs",
|
|
"-XLambdaCase",
|
|
"-XPolyKinds",
|
|
"-XRankNTypes",
|
|
"-XScopedTypeVariables",
|
|
"-XTypeApplications",
|
|
"-XTypeFamilies",
|
|
"-XTypeOperators",
|
|
"-XBlockArguments",
|
|
"-flate-specialise",
|
|
"-fspecialise-aggressively",
|
|
"-fplugin=Polysemy.Plugin",
|
|
"src/Version.hs",
|
|
"src/GH.hs",
|
|
"src/Time.hs"
|
|
]
|