Skip to content

Commit

Permalink
test: Fix rendering tests
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Mar 16, 2024
1 parent 1484e6b commit 3f8577d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,8 @@ mod tests {
"β”‚ β”‚ β”‚",
&format!("β”‚ Use arrow keys / hjkl to β”‚ {} β”‚", gpg_info[1].trim()),
&format!("β”‚ navigate through the key β”‚ {} β”‚", gpg_info[2].trim()),
&format!("β”‚ bindings. β”‚ {} β”‚", gpg_info[3].trim()),
&format!("β”‚ Corresponding commands and β”‚ {} β”‚", &gpg_info[4][0..32].trim()),
&format!("β”‚ bindings. β”‚ {} β”‚", gpg_info[3].trim()),
&format!("β”‚ Corresponding commands and β”‚ {} β”‚", &gpg_info[4][0..32].trim()),
"β”‚ β”‚",
"β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜",
" < help >",
Expand All @@ -577,7 +577,7 @@ mod tests {
Some(pos) => format!("{}{}", &line[..pos], line.chars().last().unwrap_or_default()),
None => line.to_string(),
}
}).collect()),
}).collect::<Vec<String>>()),
&terminal,
);
Ok(())
Expand Down

0 comments on commit 3f8577d

Please sign in to comment.