prevent "Play" symbol in "Run Test" code lens from rendering as emoji

This commit is contained in:
Quan Luu 2020-02-13 00:17:35 +07:00
parent 5e464d058b
commit 409c1a7f06

View file

@ -758,7 +758,7 @@ pub fn handle_code_lens(
// Gather runnables
for runnable in world.analysis().runnables(file_id)? {
let title = match &runnable.kind {
RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => "▶️Run Test",
RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => "▶️\u{fe0e}Run Test",
RunnableKind::Bench { .. } => "Run Bench",
RunnableKind::Bin => "Run",
}