We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$TEMPDIR/hls-test-root
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
running HLS_TEST_HARNESS_NO_TESTDIR_CLEANUP=1 HLS_TEST_LOG_STDERR=1 TASTY_PATTERN="/definition.Imported symbol (reexported)/" cabal test ghcide-tests FAILS (>=GHC94)
HLS_TEST_HARNESS_NO_TESTDIR_CLEANUP=1 HLS_TEST_LOG_STDERR=1 TASTY_PATTERN="/definition.Imported symbol (reexported)/" cabal test ghcide-tests
expected: Location {_uri = Uri {getUri = "$TMPDIR/hls-test-root/extra-dir-85406152527/Bar.hs"}, _range = Range {_start = Position {_line = 3, _character = 5}, _end = Position {_line = 3, _character = 8}}} but got: Location {_uri = Uri {getUri = "$TMPDIR/hls-test-root/extra-dir-85406152527/Bar.hs"}, _range = Range {_start = Position {_line = 3, _character = 0}, _end = Position {_line = 3, _character = 14}}}
itExists <- liftIO $ doesFileExist fs
srcSpanToLocation sp
rng <- srcSpanToRange src
sp
nameSrcSpan name
Originally posted by @komikat in #4273 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
running
HLS_TEST_HARNESS_NO_TESTDIR_CLEANUP=1 HLS_TEST_LOG_STDERR=1 TASTY_PATTERN="/definition.Imported symbol (reexported)/" cabal test ghcide-tests
FAILS (>=GHC94)
Notes
itExists <- liftIO $ doesFileExist fs
returns truesrcSpanToLocation sp
rng <- srcSpanToRange src
reports a different location from what's expected in the test
sp
comes fromnameSrcSpan name
in that branch.
Originally posted by @komikat in #4273 (comment)
The text was updated successfully, but these errors were encountered: