Merge #4526
4526: Use a flat play icon instead of the blue emoji with test code lens r=kjeremy a=aloucks @lnicola Restores this commit:55e914a2a1
That was effectively wiped out by this code formatting commit:dc217bdf90
3d445256fe
Co-authored-by: Aaron Loucks <aloucks@cofront.net>
This commit is contained in:
commit
64afbf8d95
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue