summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Thiel <sthiel@thoughtworks.com>2019-06-06 20:54:35 +0530
committerSebastian Thiel <sthiel@thoughtworks.com>2019-06-06 20:54:35 +0530
commit80f7a0629954d05c3397f80cd0f9a74ae0a3f002 (patch)
tree41b62947b2c4a169db609fd3dc4719ba455acf5f
parent6ba885e247b4d9d886b6867483c90b8dc0e5e7ae (diff)
Fix tests - if there is no item, there is no pane
-rw-r--r--src/interactive/app_test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interactive/app_test.rs b/src/interactive/app_test.rs
index 6215c85..147425f 100644
--- a/src/interactive/app_test.rs
+++ b/src/interactive/app_test.rs
@@ -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",
);