# HG changeset patch # User Anton Shestakov # Date 1484631893 -28800 # Node ID 9f264adbe75bfae8551dc0e6e0fce8d43fc7b43a # Parent 08fa3a76a0803cbae15883ee9521fe2dc4eda96d tests: test experimental.spacemovesdown config for commit -i The feature is still very experimental, but at least its behavior is captured in the test. diff -r 08fa3a76a080 -r 9f264adbe75b tests/test-commit-interactive-curses.t --- 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 <> $HGRCPATH + > [experimental] + > spacemovesdown = true + > EOF + $ cat <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