From 0c76b571c7bdfaf1b149141ec140081008206176 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Thu, 2 Dec 2021 15:06:47 +0100 Subject: [PATCH] Fix tmux-complete test on macOS CI For some reason, the window dimension parameters are ignored by tmux. Not even an extra "resize-pane -x 80 -y 10" helps. So let's just drop that assumption from our tests. --- tests/checks/tmux-complete.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/checks/tmux-complete.fish b/tests/checks/tmux-complete.fish index 4a7c5c8bb..3c12a02ac 100644 --- a/tests/checks/tmux-complete.fish +++ b/tests/checks/tmux-complete.fish @@ -1,6 +1,5 @@ #RUN: %fish %s #REQUIRES: command -v tmux -#REQUIRES: test "$(uname)" != Darwin isolated-tmux-start @@ -39,4 +38,4 @@ isolated-tmux capture-pane -p | sed -n '1p;$p' # Assert that we didn't change the command line. # CHECK: prompt 3> begin # Also ensure that the pager is actually fully disclosed. -# CHECK: rows 1 to 6 of 10 +# CHECK: rows 1 to {{\d+}} of {{\d+}}