Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via `codespell -L crate,ser`
  • Loading branch information
kianmeng committed Sep 8, 2022
1 parent 9d86234 commit dee8f36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/finder/post.rs
Expand Up @@ -157,8 +157,8 @@ mod tests {

#[test]
fn test_parse_snippet_request() {
let text = "enter\nssh ⠀login to a server and forward to ssh key (d… ⠀ssh -A <user>@<server> ⠀ssh ⠀login to a server and forward to ssh key (dangerous but usefull for bastion hosts) ⠀ssh -A <user>@<server> ⠀\n".to_string();
let text = "enter\nssh ⠀login to a server and forward to ssh key (d… ⠀ssh -A <user>@<server> ⠀ssh ⠀login to a server and forward to ssh key (dangerous but useful for bastion hosts) ⠀ssh -A <user>@<server> ⠀\n".to_string();
let output = parse_output_single(text, SuggestionType::SnippetSelection).unwrap();
assert_eq!(output, "enter\nssh ⠀login to a server and forward to ssh key (d… ⠀ssh -A <user>@<server> ⠀ssh ⠀login to a server and forward to ssh key (dangerous but usefull for bastion hosts) ⠀ssh -A <user>@<server> ⠀");
assert_eq!(output, "enter\nssh ⠀login to a server and forward to ssh key (d… ⠀ssh -A <user>@<server> ⠀ssh ⠀login to a server and forward to ssh key (dangerous but useful for bastion hosts) ⠀ssh -A <user>@<server> ⠀");
}
}
2 changes: 1 addition & 1 deletion tests/no_prompt_cheats/cases.cheat
Expand Up @@ -101,5 +101,5 @@ $ wallpaper_folder: echo "<pictures_folder>/wallpapers"

% test, third

; this cheathsheet doesnt have any commands
; this cheathsheet doesn't have any commands
$ country: echo "br"

0 comments on commit dee8f36

Please sign in to comment.