Blob of vendor/diff-display/spec/fixtures/pseudo_recursive.diff (raw blob data)

1 diff --git a/spec/fixtures/multiple_rems_then_add.diff b/spec/fixtures/multiple_rems_then_add.diff
2 new file mode 100644
3 index 0000000..f5fd3f8
4 --- /dev/null
5 +++ b/spec/fixtures/multiple_rems_then_add.diff
6 @@ -0,0 +1,14 @@
7 +diff --git a/strokedb-ruby/lib/stores/chainable_storage.rb b/strokedb-ruby/lib/stores/chainable_storage.rb
8 +index 5326c92..1e2de8f 100644
9 +--- a/strokedb-ruby/lib/stores/chainable_storage.rb
10 ++++ b/strokedb-ruby/lib/stores/chainable_storage.rb
11 +@@ -44,9 +44,7 @@ module StrokeDB
12 + def save_with_chained_storages!(chunk,source=nil)
13 + perform_save!(chunk)
14 + (@chained_storages||{}).each_pair do |storage,savings|
15 +- unless storage == chunk
16 +- savings << chunk unless savings.include?(chunk)
17 +- end
18 ++ savings << chunk unless storage == chunk || savings.include?(chunk)
19 + end
20 + end
21 \ No newline at end of file