summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-07-17 18:49:55 -0400
committerDan Davison <dandavison7@gmail.com>2020-08-01 11:35:50 -0400
commitcd7953c176c2bc71b34cc2aaa1618f6ab208538f (patch)
tree9571d07e3a9f5015b58afd4abb884f59e6157067 /tests
parent27dec271018c589ba1119a180158903b9dba8c64 (diff)
Initial implementation of color-moved support
- Inspect the raw hunk line - If it does not appear to be a standard minus/plus line, treat it as moved - Apply special delta color-moved-* styles
Diffstat (limited to 'tests')
-rw-r--r--tests/examples/72-color-moved.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/examples/72-color-moved.diff b/tests/examples/72-color-moved.diff
new file mode 100644
index 00000000..eb1f7c37
--- /dev/null
+++ b/tests/examples/72-color-moved.diff
@@ -0,0 +1,22 @@
+diff --git a/a b/a
+index 283ba4ce..2c9304d5 100644
+--- a/a
++++ b/a
+@@ -3,12 +3,12 @@
+ 1111 1111 1111 1111
+ 1111 1111 1111 1111
+ 
+-2222 2222 2222 2222
+-2222 2222 2222 2222
+-2222 2222 2222 2222
+-2222 2222 2222 2222
+-
+ 3333 3333 3333 3333
+ 3333 3333 3333 3333
+ 3333 3333 3333 3333
+ 3333 3333 3333 3333
++
++2222 2222 2222 2222
++2222 2222 2222 2222
++2222 2222 2222 2222
++2222 2222 2222 2222