From 80f7a0629954d05c3397f80cd0f9a74ae0a3f002 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 6 Jun 2019 20:54:35 +0530 Subject: [PATCH] Fix tests - if there is no item, there is no pane --- src/interactive/app_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interactive/app_test.rs b/src/interactive/app_test.rs index 6215c850..147425f2 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", );