tests: use full `uncommit` command name in tests
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 20 Dec 2019 16:16:57 -0800
changeset 44213 5323cdb8ae33
parent 44212 cb8b67016110
child 44214 3d2de64c49d2
tests: use full `uncommit` command name in tests I'm about to add a `hg uncopy`, so the `hg unc` we used for `hg uncommit` would become ambiguous. Differential Revision: https://phab.mercurial-scm.org/D8028
tests/test-uncommit.t
--- a/tests/test-uncommit.t	Tue Jan 28 14:53:23 2020 -0800
+++ b/tests/test-uncommit.t	Fri Dec 20 16:16:57 2019 -0800
@@ -489,7 +489,7 @@
   $ hg add b
   $ hg status
   A b
-  $ hg unc a
+  $ hg uncommit a
   note: keeping empty commit
   $ cat a
   super critical info!
@@ -503,11 +503,11 @@
   
   $ hg ci -Am 'add b'
   $ echo 'foo bar' > b
-  $ hg unc b
+  $ hg uncommit b
   abort: uncommitted changes
   (requires --allow-dirty-working-copy to uncommit)
   [255]
-  $ hg unc --allow-dirty-working-copy b
+  $ hg uncommit --allow-dirty-working-copy b
   $ hg log
   changeset:   3:30fa958635b2
   tag:         tip