changeset 32767:e5dd44f78ac6

tests: handle variation between pure and normal output in annotate --skip I'm pretty sure that both results are valid, depending on how you slice the edits.
author Augie Fackler <raf@durin42.com>
date Sat, 10 Jun 2017 10:46:06 -0400
parents fbe9c4dcc8a0
children 483d47753726
files tests/test-annotate.t
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-annotate.t	Fri Jun 09 20:12:39 2017 -0400
+++ b/tests/test-annotate.t	Sat Jun 10 10:46:06 2017 -0400
@@ -256,11 +256,13 @@
   3 b:5: b5
   7 b:7: d
 
---skip a modified line
+--skip a modified line. Note a slight behavior difference in pure - this is
+because the pure code comes up with slightly different deltas internally.
 
   $ hg annotate -nlf b --skip 6
   0 a:1: a
-  1 a:2: z
+  1 a:2: z (no-pure !)
+  0 a:1: z (pure !)
   1 a:3: a
   3 b:4: b4
   4 b:5: c