summaryrefslogtreecommitdiffhomepage
path: root/tests/Language/Haskell/Stylish/Step/Imports/Tests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Language/Haskell/Stylish/Step/Imports/Tests.hs')
-rw-r--r--tests/Language/Haskell/Stylish/Step/Imports/Tests.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/Language/Haskell/Stylish/Step/Imports/Tests.hs b/tests/Language/Haskell/Stylish/Step/Imports/Tests.hs
index aed9419..78083f9 100644
--- a/tests/Language/Haskell/Stylish/Step/Imports/Tests.hs
+++ b/tests/Language/Haskell/Stylish/Step/Imports/Tests.hs
@@ -22,6 +22,7 @@ tests = testGroup "Language.Haskell.Stylish.Step.Imports.Tests"
, testCase "case 02" case02
, testCase "case 03" case03
, testCase "case 04" case04
+ , testCase "case 05" case05
]
@@ -112,3 +113,11 @@ case04 = expected @=? testStep (step 80 Global) input'
, " object, parseEither, typeMismatch, (.!=),"
, " (.:), (.:?), (.=))"
]
+
+
+--------------------------------------------------------------------------------
+case05 :: Assertion
+case05 = input' @=? testStep (step 80 Group) input'
+ where
+ input' = "import Distribution.PackageDescription.Configuration " ++
+ "(finalizePackageDescription)\n"