test-resolve: clarify test descriptions and consistently use "should"
authorMartin von Zweigbergk <martinvonz@gmail.com>
Wed, 08 Oct 2014 21:19:31 -0700
changeset 23020 dfad19274d85
parent 23019 c8f32accd00a
child 23021 41770cee3c6a
test-resolve: clarify test descriptions and consistently use "should"
tests/test-resolve.t
--- a/tests/test-resolve.t	Thu Oct 16 17:46:58 2014 -0700
+++ b/tests/test-resolve.t	Wed Oct 08 21:19:31 2014 -0700
@@ -31,7 +31,8 @@
   $ hg resolve -l
   U file
 
-resolving an unknown path emits a warning
+resolving an unknown path should emit a warning
+
   $ hg resolve -m does-not-exist
   arguments do not match paths that need resolving
 
@@ -42,11 +43,12 @@
   (no more unresolved files)
   $ hg commit -m 'resolved'
 
-resolve -l should be empty
+resolve -l should be empty after commit
 
   $ hg resolve -l
 
-resolve -m should abort since no merge in progress
+resolve -m should abort when no merge in progress
+
   $ hg resolve -m
   abort: resolve command not applicable when not merging
   [255]
@@ -56,7 +58,7 @@
   $ mkdir .hg/merge
   $ touch .hg/merge/state
 
-resolve -l, should be empty
+resolve -l should be empty
 
   $ hg resolve -l