From a875b63033a061f8afb2f8d3c7675837a67d2a3d Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 25 May 2014 02:38:05 +0100 Subject: [PATCH] Attempt to fix test failing with Tmux 1.6 and 1.7 --- test/libexec/tmuxifier-tmux-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/libexec/tmuxifier-tmux-test.sh b/test/libexec/tmuxifier-tmux-test.sh index 0ac6f79..b634184 100755 --- a/test/libexec/tmuxifier-tmux-test.sh +++ b/test/libexec/tmuxifier-tmux-test.sh @@ -15,8 +15,8 @@ tmux $TMUXIFIER_TMUX_OPTS new -d -s foobar tmux $TMUXIFIER_TMUX_OPTS new -d -s dude # Passes all arguments to Tmux. -assert "${libexec}/tmuxifier-tmux list-sessions -F \"#{session_id}: #S\"" \ - "\$1: dude\n\$0: foobar" +assert "${libexec}/tmuxifier-tmux list-sessions -F \"- #{session_name}\"" \ + "- dude\n- foobar" # Tear down. tmux $TMUXIFIER_TMUX_OPTS kill-server