Skip to content

Eval plugin test does not work with stack #1838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Ailrun opened this issue May 17, 2021 · 3 comments
Closed

Eval plugin test does not work with stack #1838

Ailrun opened this issue May 17, 2021 · 3 comments

Comments

@Ailrun
Copy link
Member

Ailrun commented May 17, 2021

Your environment

Current master branch (a9113df)
Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:

haskell-language-server version: 1.1.0.1 (GHC: 8.10.4) (PATH: /home/jjc/.local/bin/haskell-language-server) (GIT hash: a9113df001a26b155d2c9e2ce8b9e85242d35d92)
Tool versions found on the $PATH
cabal:          3.4.0.0
stack:          2.7.1
ghc:            8.10.4

Which OS do you use: Manjaro
Which lsp-client do you use: N/A
Describe your project (alternative: link to the project): N/A
Contents of hie.yaml: N/A

Steps to reproduce

Run stack test hls-eval-plugin

Expected behaviour

Works as with Cabal

Actual behaviour

Failed as there's no code lens (like the following):

  Produces Evaluate code lenses: FAIL (2.42s)
    test/Main.hs:34:
    expected: [Just "Evaluate..."]
     but got: []
@Ailrun
Copy link
Member Author

Ailrun commented May 17, 2021

It's because of hie.yaml in its testdata directory. I will fix this in #1836.

@Ailrun
Copy link
Member Author

Ailrun commented May 17, 2021

Actually I failed because of QuickCheck dependency of the tests...

@michaelpj
Copy link
Collaborator

Old and I think not that important

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants