Merge #715
715: Use "▶" for test code lens r=matklad a=kjeremy I find that this makes code lenses stand out more otherwise they can be easy to miss. Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
This commit is contained in:
commit
1bf47d43db
1 changed files with 3 additions and 1 deletions
|
@ -618,7 +618,9 @@ pub fn handle_code_lens(
|
|||
|
||||
for runnable in world.analysis().runnables(file_id)? {
|
||||
let title = match &runnable.kind {
|
||||
RunnableKind::Test { name: _ } | RunnableKind::TestMod { path: _ } => Some("Run Test"),
|
||||
RunnableKind::Test { name: _ } | RunnableKind::TestMod { path: _ } => {
|
||||
Some("▶️Run Test")
|
||||
}
|
||||
RunnableKind::Bench { name: _ } => Some("Run Bench"),
|
||||
_ => None,
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue