tests: test experimental.spacemovesdown config for commit -i
The feature is still very experimental, but at least its behavior is captured
in the test.
--- a/tests/test-commit-interactive-curses.t Tue Jan 17 10:17:13 2017 -0800
+++ b/tests/test-commit-interactive-curses.t Tue Jan 17 13:44:53 2017 +0800
@@ -318,6 +318,25 @@
foo
hello world
lower
+
+Check spacemovesdown
+
+ $ cat <<EOF >> $HGRCPATH
+ > [experimental]
+ > spacemovesdown = true
+ > EOF
+ $ cat <<EOF >testModeCommands
+ > TOGGLE
+ > TOGGLE
+ > X
+ > EOF
+ $ hg status -q
+ M b
+ M x
+ $ hg commit -i -m "nothing to commit?" -d "0 0"
+ no changes to record
+ [1]
+
Check ui.interface logic for the chunkselector
The default interface is text