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:
bors[bot] 2019-01-31 13:04:03 +00:00
commit 1bf47d43db

View file

@ -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,
};