summaryrefslogtreecommitdiff
path: root/spec/fixtures/ldiff/output.diff.chef2-e
diff options
context:
space:
mode:
authorAustin Ziegler <austin@zieglers.ca>2020-06-30 09:51:08 -0400
committerAustin Ziegler <austin@zieglers.ca>2020-07-01 11:53:51 -0400
commit60613d2af564a93dc5c19c8a71c3f674a5db6fdb (patch)
treed88bb489d8f8e44b323073a32195b951d9d9629b /spec/fixtures/ldiff/output.diff.chef2-e
parent99f65fdc8253c3bf800bc0e17c2cbbde9ade9ba8 (diff)
downloaddiff-lcs-60613d2af564a93dc5c19c8a71c3f674a5db6fdb.tar.gz
# This is a combination of 9 commits.
# This is the 1st commit message: Fix improperly placed chunks Resolve #65 - Also add even more tests for checking `ldiff` results against `diff` results. - Fix issues with diff/ldiff output highlighted by the above tests. - Add a parameter to indicate that the hunk being processed is the _last_ hunk; this results in correct counting of the hunk size. - The misplaced chunks were happening because of an improper `.abs` on `#diff_size`, when the `.abs` needed to be on the finding of the maximum diff size. # This is the commit message #2: Ooops. Debugger # This is the commit message #3: Restore missing test - Fix some more format issues raised by the missing test. - Start fixing Rubocop formatting. # This is the commit message #4: Last RuboCop fixes # This is the commit message #5: Finalize diff-lcs 1.4 # This is the commit message #6: Fix #44 The problem here was the precedence of `or` vs `||`. Switching to `||` resulted in the expected behaviour. # This is the commit message #7: Resolve #43 # This is the commit message #8: Typo # This is the commit message #9: Resolve #35 with a comment
Diffstat (limited to 'spec/fixtures/ldiff/output.diff.chef2-e')
-rw-r--r--spec/fixtures/ldiff/output.diff.chef2-e7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/fixtures/ldiff/output.diff.chef2-e b/spec/fixtures/ldiff/output.diff.chef2-e
new file mode 100644
index 0000000..89f3fa0
--- /dev/null
+++ b/spec/fixtures/ldiff/output.diff.chef2-e
@@ -0,0 +1,7 @@
+14a
+recipe[o::new]
+recipe[p::new]
+recipe[q::new]
+recipe[r::new]
+.
+2d