Mercurial > hg
diff tests/test-status.t @ 12328:b63f6422d2a7
tests: fix a bunch of pointless #s in unified tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 17 Sep 2010 17:03:08 -0500 |
parents | 4c94b6d0fb1c |
children | 22f3353bcc36 |
line wrap: on
line diff
--- a/tests/test-status.t Fri Sep 17 17:03:04 2010 -0500 +++ b/tests/test-status.t Fri Sep 17 17:03:08 2010 -0500 @@ -173,7 +173,7 @@ I ignoreddir/file $ cd .. -# check 'status -q' and some combinations +Check 'status -q' and some combinations $ hg init repo3 $ cd repo3 @@ -191,9 +191,9 @@ $ rm deleted $ hg copy modified copied -# Run status with 2 different flags. -# Check if result is the same or different. -# If result is not as expected, raise error +Run status with 2 different flags. +Check if result is the same or different. +If result is not as expected, raise error $ assert() { > hg status $1 > ../a @@ -214,7 +214,7 @@ > fi > } -# assert flag1 flag2 [0-same | 1-different] +Assert flag1 flag2 [0-same | 1-different] $ assert "-q" "-mard" 0 $ assert "-A" "-marduicC" 0