You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
Currently we have test_tooltip and test_tooltip_std which test if the hover request response matches what we expect - most often it's the type of hovered symbol.
Err(format!("{} of {} tooltip tests failed", failures.len(), tests.len()).into())
}
}
}
Right now, when actual index data from rustc build can't be queried, we fall back to Racer and ask it to show us definition for a given span, this fallback is configured by racer_completion option (now defaults to true).
It'd be good to split these
Now, except for newly-separated test_tooltip_racer_fallback, every other tooltip test should have racer_completion explicitly disabled so we don't have to guess why the data is not as expected.
The text was updated successfully, but these errors were encountered:
#1151 (comment)
Currently we have
test_tooltip
andtest_tooltip_std
which test if the hover request response matches what we expect - most often it's the type of hovered symbol.rls/src/actions/hover.rs
Lines 2054 to 2193 in 6844569
Right now, when actual index data from
rustc
build can't be queried, we fall back to Racer and ask it to show us definition for a given span, this fallback is configured byracer_completion
option (now defaults totrue
).It'd be good to split these
rls/src/actions/hover.rs
Lines 2151 to 2152 in 6844569
into
test_tooltip_racer_fallback
and enhanceTooltipTestHarness
to be able to receive custom configuration when created:rls/src/actions/hover.rs
Line 1192 in 6844569
Now, except for newly-separated
test_tooltip_racer_fallback
, every other tooltip test should haveracer_completion
explicitly disabled so we don't have to guess why the data is not as expected.The text was updated successfully, but these errors were encountered: