nixpkgs-update/test/DoctestSpec.hs
Ryan Mulligan a0a2e6afbe use Polysemy for File and Process, add test for quotedUrls
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
2020-04-04 14:08:14 -07:00

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"
]