unwrap
This commit is contained in:
parent
9042bb7892
commit
864434137a
@ -85,8 +85,8 @@ pub(crate) fn add_assist(
|
||||
) -> Option<Assist> {
|
||||
let label = AssistLabel { label: label.into(), id };
|
||||
assert_eq!(
|
||||
label.label.chars().nth(0).and_then(|c| Some(c.is_uppercase())),
|
||||
Some(true),
|
||||
label.label.chars().nth(0).and_then(|c| Some(c.is_uppercase())).unwrap(),
|
||||
true,
|
||||
"First character should be uppercase"
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user