Skip to content

Commit

Permalink
Add failing test case for #6
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Jun 8, 2012
1 parent db6a7df commit 013695a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/StylishHaskell/Step/Imports/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ input = unlines
, "import Data.Map (lookup, (!), insert, Map)"
, ""
, "import Herp.Derp.Internals hiding (foo)"
, "import HURR"
, ""
, "herp = putStrLn \"import Hello world\""
]
Expand All @@ -51,6 +52,7 @@ case01 = testCase "case 01" $ expected @=? testStep (step Global) input
, "import qualified Data.Map as M"
, ""
, "import Herp.Derp.Internals hiding (foo)"
, "import HURR"
, ""
, "herp = putStrLn \"import Hello world\""
]
Expand All @@ -68,6 +70,7 @@ case02 = testCase "case 02" $ expected @=? testStep (step Group) input
, "import qualified Data.Map as M"
, ""
, "import Herp.Derp.Internals hiding (foo)"
, "import HURR"
, ""
, "herp = putStrLn \"import Hello world\""
]
Expand All @@ -85,6 +88,7 @@ case03 = testCase "case 03" $ expected @=? testStep (step None) input
, "import qualified Data.Map as M"
, ""
, "import Herp.Derp.Internals hiding (foo)"
, "import HURR"
, ""
, "herp = putStrLn \"import Hello world\""
]

0 comments on commit 013695a

Please sign in to comment.