diff options
Diffstat (limited to 'src/app/api/layouts.rs')
| -rw-r--r-- | src/app/api/layouts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/api/layouts.rs b/src/app/api/layouts.rs index 943ed835..74190434 100644 --- a/src/app/api/layouts.rs +++ b/src/app/api/layouts.rs @@ -747,7 +747,7 @@ mod tests { second: Box::new(LayoutNode::Pane { pane: LayoutPane { label: Some("tests".into()), - command: Some(vec!["sh".into(), "-c".into(), "true".into()]), + command: Some(vec![exiting_test_command().into()]), env: std::collections::HashMap::from([( "HERDR_ROLE".into(), "tests".into(), @@ -789,7 +789,7 @@ mod tests { assert_eq!(second_pane.label.as_deref(), Some("tests")); assert_eq!( second_pane.command, - Some(vec!["sh".into(), "-c".into(), "true".into()]) + Some(vec![exiting_test_command().into()]) ); assert!(matches!( &app.event_hub.events_after(0).last().expect("layout event").1.data, |
