diff tests/test-commit-interactive-curses.t @ 42570:75fd9421440b

crecord: add "x" alias for space, remove test-only "TOGGLE" alias Differential Revision: https://phab.mercurial-scm.org/D6618
author Kyle Lippincott <spectral@google.com>
date Mon, 08 Jul 2019 12:17:06 -0700
parents 756326d54761
children 9ac1a5a4a64f
line wrap: on
line diff
--- a/tests/test-commit-interactive-curses.t	Mon Jul 08 12:15:37 2019 -0700
+++ b/tests/test-commit-interactive-curses.t	Mon Jul 08 12:17:06 2019 -0700
@@ -34,7 +34,7 @@
   $ echo "a" > a
   $ hg add a
   $ cat <<EOF >testModeCommands
-  > TOGGLE
+  > x
   > c
   > EOF
   $ hg commit -i  -m "a" -d "0 0"
@@ -71,7 +71,7 @@
   >>> open('b', 'wb').write(b"1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n") and None
   $ hg add b
   $ cat <<EOF >testModeCommands
-  > TOGGLE
+  > x
   > KEY_DOWN
   > c
   > EOF
@@ -112,7 +112,7 @@
   > KEY_DOWN
   > KEY_DOWN
   > KEY_DOWN
-  > TOGGLE
+  > x
   > a
   > a
   > e
@@ -182,8 +182,8 @@
   $ echo "hello" > x
   $ hg add x
   $ cat <<EOF >testModeCommands
-  > TOGGLE
-  > TOGGLE
+  > x
+  > x
   > c
   > EOF
   $ hg st
@@ -240,7 +240,7 @@
   > KEY_DOWN
   > KEY_DOWN
   > e
-  > TOGGLE
+  > x
   > c
   > EOF
   $ printf "printf 'editor ran\n'; exit 0" > editor.sh
@@ -272,11 +272,11 @@
   > EOF
   $ cat > testModeCommands <<EOF
   > KEY_DOWN
-  > TOGGLE
+  > x
   > KEY_DOWN
   > f
   > KEY_DOWN
-  > TOGGLE
+  > x
   > R
   > EOF