This commit is contained in:
Jeremy Kolb 2019-01-31 07:44:26 -05:00
parent 57899d66fa
commit 76c0d0b94d

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