summaryrefslogtreecommitdiffstats
path: root/src/interactive/app/tests/journeys_with_writes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/interactive/app/tests/journeys_with_writes.rs')
-rw-r--r--src/interactive/app/tests/journeys_with_writes.rs14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/interactive/app/tests/journeys_with_writes.rs b/src/interactive/app/tests/journeys_with_writes.rs
index 09ca1be..52431da 100644
--- a/src/interactive/app/tests/journeys_with_writes.rs
+++ b/src/interactive/app/tests/journeys_with_writes.rs
@@ -9,7 +9,7 @@ use pretty_assertions::assert_eq;
#[test]
#[cfg(not(target_os = "windows"))] // it stopped working here, don't know if it's truly broken or if it's the test. Let's wait for windows users to report.
fn basic_user_journey_with_deletion() -> Result<()> {
- use crate::interactive::app::tests::utils::{into_keys, into_events};
+ use crate::interactive::app::tests::utils::into_events;
let fixture = WritableFixture::from("sample-02");
let (mut terminal, mut app) = initialized_app_and_terminal_from_paths(&[fixture.root.clone()])?;
@@ -28,11 +28,13 @@ fn basic_user_journey_with_deletion() -> Result<()> {
// When selecting the marker window and pressing the combination to delete entries
app.process_events(
&mut terminal,
- into_events(vec![
- Event::Key(KeyCode::Tab.into()),
- Event::Key(KeyEvent::new(KeyCode::Char('r'), KeyModifiers::CONTROL)),
- ]
- .into_iter()),
+ into_events(
+ vec![
+ Event::Key(KeyCode::Tab.into()),
+ Event::Key(KeyEvent::new(KeyCode::Char('r'), KeyModifiers::CONTROL)),
+ ]
+ .into_iter(),
+ ),
)?;
assert!(
app.window.mark_pane.is_none(),