mirror of
https://github.com/denisidoro/navi
synced 2024-11-24 04:23:06 +00:00
commit
d2b0935e9b
2 changed files with 3 additions and 3 deletions
|
@ -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> ⠀");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
Loading…
Reference in a new issue