Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 111ad4c

Browse files
authoredMar 19, 2025··
Move ghcide-test to stand alone dir (#4520)
* Add multiple new Haskell modules and configuration files * Fix directory paths for test data and source directories * Remove unnecessary test data files from the cabal configuration * fix test data dir * Add ghcide-test-preprocessor executable and update cabal configuration * Remove ghcide-test-preprocessor executable and associated flag from cabal configuration * Update test-suite dependencies to reference the correct executable * Remove ghcide-test-preprocessor from func-test dependencies * Add additional test data files to cabal configuration
1 parent 9cca428 commit 111ad4c

File tree

142 files changed

+26
-28
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+26
-28
lines changed
 

‎ghcide-bench/src/Experiments.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -857,11 +857,9 @@ getBuildEdgesCount = tryCallTestPlugin GetBuildEdgesCount
857857
getRebuildsCount :: Session (Either (TResponseError @ClientToServer (Method_CustomMethod "test")) Int)
858858
getRebuildsCount = tryCallTestPlugin GetRebuildsCount
859859

860-
-- Copy&paste from ghcide/test/Development.IDE.Test
861860
getStoredKeys :: Session [Text]
862861
getStoredKeys = callTestPlugin GetStoredKeys
863862

864-
-- Copy&paste from ghcide/test/Development.IDE.Test
865863
tryCallTestPlugin :: (A.FromJSON b) => TestRequest -> Session (Either (TResponseError @ClientToServer (Method_CustomMethod "test")) b)
866864
tryCallTestPlugin cmd = do
867865
let cm = SMethod_CustomMethod (Proxy @"test")
@@ -873,7 +871,6 @@ tryCallTestPlugin cmd = do
873871
A.Success a -> Right a
874872
A.Error e -> error e
875873

876-
-- Copy&paste from ghcide/test/Development.IDE.Test
877874
callTestPlugin :: (A.FromJSON b) => TestRequest -> Session b
878875
callTestPlugin cmd = do
879876
res <- tryCallTestPlugin cmd
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.