Skip to content

Commit

Permalink
using doctest on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Mar 15, 2023
1 parent 4d5236b commit 7fdcbeb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
3 changes: 3 additions & 0 deletions Data/IP/RouteTable/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ import Data.Word
import GHC.Generics (Generic, Generic1)
import Prelude hiding (lookup)

-- $setup
-- >>> :set -XOverloadedStrings

----------------------------------------------------------------

{-|
Expand Down
13 changes: 0 additions & 13 deletions iproute.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ Library
if impl(ghc >= 8)
Default-Extensions: Strict StrictData

Test-Suite doctest
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
HS-Source-Dirs: test
Ghc-Options: -threaded -Wall
Main-Is: doctests.hs
Build-Depends: base >= 4.6 && < 5
, doctest >= 0.9.3
, appar
, byteorder
, bytestring
, network

Test-Suite spec
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
Expand Down
11 changes: 0 additions & 11 deletions test/doctests.hs

This file was deleted.

0 comments on commit 7fdcbeb

Please sign in to comment.