#!/bin/sh

. libtest.sh

export COLUMNS=100
export LINES=160

steps '
	:view-help
	:2
	:enter
	:enter
	:save-display help-default.screen
'

stdin <<EOF
test
EOF

expected="$source_dir/all-keybindings-test.expected"

test_tig

assert_equals \
	'help-default.screen' \
	'ignore' \
	"Test failures due to changes to 'tigrc' can be fixed by running:" \
	"  > make test/help/all-keybindings-test && cp test/tmp/help/all-keybindings-test/help-default.screen test/help/all-keybindings-test.expected" \
	< "$expected"
