Use a flat play icon instead of the blue emoji with test code lens
This commit is contained in:
parent
efac093093
commit
63ffc17733
@ -802,11 +802,11 @@ pub fn handle_code_lens(
|
|||||||
for runnable in world.analysis().runnables(file_id)? {
|
for runnable in world.analysis().runnables(file_id)? {
|
||||||
let (run_title, debugee) = match &runnable.kind {
|
let (run_title, debugee) = match &runnable.kind {
|
||||||
RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => {
|
RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => {
|
||||||
("▶️\u{fe0e}Run Test", true)
|
("▶\u{fe0e} Run Test", true)
|
||||||
}
|
}
|
||||||
RunnableKind::DocTest { .. } => {
|
RunnableKind::DocTest { .. } => {
|
||||||
// cargo does not support -no-run for doctests
|
// cargo does not support -no-run for doctests
|
||||||
("▶️\u{fe0e}Run Doctest", false)
|
("▶\u{fe0e} Run Doctest", false)
|
||||||
}
|
}
|
||||||
RunnableKind::Bench { .. } => {
|
RunnableKind::Bench { .. } => {
|
||||||
// Nothing wrong with bench debugging
|
// Nothing wrong with bench debugging
|
||||||
|
Loading…
Reference in New Issue
Block a user