Skip to content

Commit b7ac926

Browse files
committed
More cleanup
1 parent e5c6aee commit b7ac926

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

lib/super_diff/operation_sequences/base.rb

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,6 @@ def self.applies_to?(_value)
77

88
extend ImplementationChecks
99

10-
def +(other)
11-
if other.is_a?(self.class)
12-
self.class.new(__getobj__ + other.__getobj__)
13-
else
14-
self.class.new(__getobj__ + other)
15-
end
16-
end
17-
18-
def -(other)
19-
if other.is_a?(self.class)
20-
self.class.new(__getobj__ - other.__getobj__)
21-
else
22-
self.class.new(__getobj__ - other)
23-
end
24-
end
25-
2610
# rubocop:disable Lint/UnusedMethodArgument
2711
def to_diff(indent_level:, add_comma: false, collection_prefix: nil)
2812
raise NotImplementedError

lib/super_diff/rspec/operational_sequencers/hash_including.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ def should_add_noop_operation?(key)
1919
expected[key] == actual[key]
2020
)
2121
end
22-
23-
=begin
24-
def should_add_insert_operation?(key)
25-
expected.include?(key) &&
26-
actual.include?(key) &&
27-
expected[key] != actual[key]
28-
end
29-
=end
3022
end
3123
end
3224
end

0 commit comments

Comments
 (0)