nixpkgs-update/test/DoctestSpec.hs
Ryan Mulligan 47815a5e87 remove Time
I want to remobe Polysemy and this was using that. There is no need to
add time to log messages anyway, since we're using the systemd journal.
2023-01-01 15:43:47 -08:00

33 lines
717 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"
]