fix: execute tests with code from the branch

This commit is contained in:
Maciej Sypien 2024-09-21 11:57:34 +02:00
parent ebbdcb187f
commit e5b23dad6b
No known key found for this signature in database
GPG key ID: 10BC01EDA6827DC8
3 changed files with 23 additions and 8 deletions

View file

@ -26,6 +26,11 @@ EOF
cat ~/.tmux.conf
echo "Current DIR: $CURRENT_DIR"
# link current repo to plugin list
ln -sf ~/.tmux/plugins/tmux-gruvbox/ "$CURRENT_DIR/../"
helper_install_tpm_plugins
# start new detached session
@ -34,10 +39,12 @@ EOF
# get status of something from theme
_status_left_current=$(tmux show-option -gqv status-left)
if [[ "$STATUS_LEFT_DEFAULT" != "$_status_left_current" ]]; then
helper_print_fail_and_exit "Status left did not match"
helper_print_fail "status-left did not match"
else
helper_print_success "status-left match"
fi
helper_print_success_and_exit "Status left match"
helper_teardown
}
main "$@"