From a83c9d45aa2f3e1d6a42067e93b113d2a30fd6e7 Mon Sep 17 00:00:00 2001 From: Skia Date: Tue, 9 Sep 2025 13:05:40 +0200 Subject: [PATCH] tests: fix error message --- tests/integration_bin.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration_bin.rs b/tests/integration_bin.rs index 2454c6f..6da8b30 100644 --- a/tests/integration_bin.rs +++ b/tests/integration_bin.rs @@ -13,7 +13,7 @@ fn test_binary_help() { .env_clear() .env("SWAYSOCK", "/dev/null") .output() - .expect("Couldn't run swaymsg"); + .expect("Couldn't run swaysome"); assert_eq!(String::from_utf8(output.stdout).unwrap(), "Better multimonitor handling for sway\n\nUsage: swaysome \n\nCommands:\n init Initialize the workspace groups for all the outputs\n move Move the focused container to another workspace on the same workspace group\n move-to-group Move the focused container to the same workspace index on another workspace group\n focus Focus to another workspace on the same workspace group\n focus-group Focus to workspace group\n focus-all-outputs Focus to another workspace on all the outputs\n next-output Move the focused container to the next output\n prev-output Move the focused container to the previous output\n workspace-group-next-output Move the focused workspace group to the next output\n workspace-group-prev-output Move the focused workspace group to the previous output\n next-group Move the focused container to the next group\n prev-group Move the focused container to the previous group\n rearrange-workspaces Rearrange already opened workspaces to the correct outputs, useful when plugging new monitors\n help Print this message or the help of the given subcommand(s)\n\nOptions:\n -h, --help Print help\n -V, --version Print version\n"); } @@ -28,6 +28,6 @@ fn test_binary_interaction_with_sway() { .env_clear() .env("SWAYSOCK", sway.sock.clone()) .output() - .expect("Couldn't run swaymsg"); + .expect("Couldn't run swaysome"); assert_eq!(String::from_utf8(output.stderr).unwrap(), "successful connection to socket '/tmp/swaysome_tests/test_binary_interaction_with_sway/swaysock'\nSending command: 'focus output HEADLESS-3' - Command successful\nSending command: 'workspace number 31' - Command successful\nSending command: 'focus output HEADLESS-2' - Command successful\nSending command: 'workspace number 21' - Command successful\nSending command: 'focus output HEADLESS-1' - Command successful\nSending command: 'workspace number 11' - Command successful\n"); }