tests: handle variation between pure and normal output in annotate --skip
authorAugie Fackler <raf@durin42.com>
Sat, 10 Jun 2017 10:46:06 -0400
changeset 32767 e5dd44f78ac6
parent 32766 fbe9c4dcc8a0
child 32768 483d47753726
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.
tests/test-annotate.t
--- 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