modify test-emacs and update ic.yml

pull/3901/head
Jia Hu 2024-03-20 17:07:13 -04:00
parent f2d1ef10e3
commit c2d1648a8f
2 changed files with 15 additions and 3 deletions

View File

@ -84,12 +84,13 @@ jobs:
sh new-session-size.sh
chmod +x new-session-command.sh
sh new-session-command.sh
chmod +x copy-mode-test-emacs.sh
sh copy-mode-test-emacs.sh
## chmod +x tty-keys.sh
## sh tty-keys.sh
## chmod +x format-strings.sh
## sh format-strings.sh
## chmod +x copy-mode-test-emacs.sh
## sh copy-mode-test-emacs.sh
## chmod +x copy-mode-test-vi.sh
## sh copy-mode-test-vi.sh
## chmod +x new-session-environment.sh

View File

@ -42,7 +42,18 @@ $TMUX send-keys -X begin-selection
$TMUX send-keys -X next-word-end
$TMUX send-keys -X next-word-end
$TMUX send-keys -X copy-selection
[ "$($TMUX show-buffer)" = "$(echo -e "words\n Indented")" ] || exit 1
if [ "$($TMUX show-buffer)" != "$(printf "words\n Indented")" ]
then
actual=$($TMUX show-buffer)
expected=$(printf "words\n Indented")
echo "actual: "
echo $actual
echo "expected: "
echo $expected
exit 1
fi
#[ "$($TMUX show-buffer)" = "$(echo -e "words\n Indented")" ] || exit 1
# Test that `next-word` wraps around un-indented line breaks.
$TMUX send-keys -X next-word