From a0fc157f434da6d3536a16d82138fb2ccbf0d23a Mon Sep 17 00:00:00 2001 From: Peter Wicks Stringfield Date: Wed, 2 Dec 2020 18:42:38 -0600 Subject: [PATCH 1/4] Remove unnecessary parenthesis. --- test/functional/FunctionalCodeAction.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/FunctionalCodeAction.hs b/test/functional/FunctionalCodeAction.hs index f1ad9a9f4a..d34f3d6bb5 100644 --- a/test/functional/FunctionalCodeAction.hs +++ b/test/functional/FunctionalCodeAction.hs @@ -329,7 +329,7 @@ typedHoleTests = testGroup "typed hole code actions" [ contents <- documentContents doc - liftIO $ (T.lines contents) @?= + liftIO $ T.lines contents @?= [ "module TypedHoles2 (foo2) where" , "newtype A = A Int" , "foo2 :: [A] -> A" From b8a49f11b2a756f2257ab2c7701da99003b09264 Mon Sep 17 00:00:00 2001 From: Peter Wicks Stringfield Date: Wed, 2 Dec 2020 19:36:45 -0600 Subject: [PATCH 2/4] Delete duplicate cabal file entry for applyrefact2. --- test/testdata/testdata.cabal | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/testdata/testdata.cabal b/test/testdata/testdata.cabal index c191bbd1f1..1874e1e988 100644 --- a/test/testdata/testdata.cabal +++ b/test/testdata/testdata.cabal @@ -29,11 +29,6 @@ executable symbols default-language: Haskell2010 -executable applyrefact2 - build-depends: base - main-is: ApplyRefact2.hs - default-language: Haskell2010 - executable hlintpragma build-depends: base main-is: HlintPragma.hs From 66aacfd7f531b93e9eb58e802d228fe02d8ddcca Mon Sep 17 00:00:00 2001 From: Peter Wicks Stringfield Date: Tue, 8 Dec 2020 09:39:49 -0600 Subject: [PATCH 3/4] Delete extraneous cabal clause for ApplyRefact2.hs. This test uses a direct hie.yaml and this cabal file is not inspected, so this clause does nothing. --- test/testdata/testdata.cabal | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/testdata/testdata.cabal b/test/testdata/testdata.cabal index 1874e1e988..8ceb5aedb5 100644 --- a/test/testdata/testdata.cabal +++ b/test/testdata/testdata.cabal @@ -8,11 +8,6 @@ executable applyrefact main-is: ApplyRefact.hs default-language: Haskell2010 -executable applyrefact2 - build-depends: base - main-is: ApplyRefact2.hs - default-language: Haskell2010 - executable codeactionrename build-depends: base main-is: CodeActionRename.hs From 099e89e5b3977161fc3015c4d4fb392cd12469b3 Mon Sep 17 00:00:00 2001 From: Peter Wicks Stringfield Date: Tue, 8 Dec 2020 09:40:42 -0600 Subject: [PATCH 4/4] Delete extraneous cabal clause for non-existent ApplyRefact.hs. --- test/testdata/testdata.cabal | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/testdata/testdata.cabal b/test/testdata/testdata.cabal index 8ceb5aedb5..76b2bdb95f 100644 --- a/test/testdata/testdata.cabal +++ b/test/testdata/testdata.cabal @@ -3,11 +3,6 @@ version: 0.1.0.0 cabal-version: >=2.0 build-type: Simple -executable applyrefact - build-depends: base - main-is: ApplyRefact.hs - default-language: Haskell2010 - executable codeactionrename build-depends: base main-is: CodeActionRename.hs