Fix test code lens

This commit is contained in:
Aleksei Trifonov 2020-08-02 13:53:34 +03:00
parent e4d0f19b01
commit 85d5ed3675

View File

@ -896,7 +896,7 @@ pub(crate) fn handle_code_lens(
}
let action = runnable.action();
let range = to_proto::range(&line_index, runnable.nav.focus_or_full_range());
let range = to_proto::range(&line_index, runnable.nav.full_range);
let r = to_proto::runnable(&snap, file_id, runnable)?;
if snap.config.lens.run {
let lens = CodeLens {