Skip to content

Commit

Permalink
Fix tests - if there is no item, there is no pane
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thiel committed Jun 6, 2019
1 parent 6ba885e commit 80f7a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interactive/app_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ fn simple_user_journey() -> Result<(), Error> {
app.process_events(&mut terminal, b"k ".keys())?;

assert_eq!(
Some(0),
None,
app.window.mark_pane.as_ref().map(|p| p.marked().len()),
"it toggles the item off",
);
Expand Down

0 comments on commit 80f7a06

Please sign in to comment.