File tree 4 files changed +24
-10
lines changed
4 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 2
2
remote: .
3
3
specs:
4
4
unparser (0.6.15 )
5
- diff-lcs (~> 1.3 )
5
+ diff-lcs (~> 1.6 )
6
6
parser (>= 3.3.0 )
7
7
8
8
GEM
9
9
remote: https://rubygems.org/
10
10
specs:
11
11
ast (2.4.2 )
12
- diff-lcs (1.5.1 )
12
+ diff-lcs (1.6.0 )
13
13
json (2.7.2 )
14
14
language_server-protocol (3.17.0.3 )
15
15
mutant (0.12.3 )
Original file line number Diff line number Diff line change 25
25
26
26
let ( :expectation ) do
27
27
[
28
- "@@ -1 +1 @@\n " ,
28
+ "@@ -1,2 +1,2 @@\n " ,
29
29
Unparser ::Color ::RED . format ( "-foo\n " ) ,
30
30
Unparser ::Color ::GREEN . format ( "+baz\n " ) ,
31
+ " bar\n "
31
32
] . join
32
33
end
33
34
57
58
58
59
let ( :expectation ) do
59
60
<<~STR
60
- @@ -1,4 +1,4 @@
61
+ @@ -1,3 +1,3 @@
61
62
-foo
62
63
+baz
63
64
bar
77
78
78
79
let ( :expectation ) do
79
80
<<~STR
80
- @@ -1 +1 @@
81
+ @@ -1,2 +1,2 @@
81
82
-foo
82
83
+baz
84
+ bar
83
85
STR
84
86
end
85
87
112
114
113
115
let ( :expectation ) do
114
116
<<~STR
115
- @@ -1,8 +1,9 @@
117
+ @@ -1,7 +1,8 @@
116
118
foo
117
119
bar
118
120
baz
135
137
136
138
let ( :expectation ) do
137
139
<<~STR
138
- @@ -1,2 +1 @@
140
+ @@ -1,8 +1,7 @@
139
141
-other
140
142
foo
143
+ bar
144
+ baz
145
+ boz
146
+ a
147
+ b
148
+ c
141
149
STR
142
150
end
143
151
152
160
153
161
let ( :expectation ) do
154
162
<<~STR
155
- @@ -1 +1,2 @@
163
+ @@ -1,7 +1,8 @@
156
164
+other
157
165
foo
166
+ bar
167
+ baz
168
+ boz
169
+ a
170
+ b
171
+ c
158
172
STR
159
173
end
160
174
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ def report
217
217
(send
218
218
(int 1) :bar)
219
219
Node-Diff:
220
- @@ -1,3 +1,3 @@
220
+ @@ -1,2 +1,2 @@
221
221
REPORT
222
222
end
223
223
end
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
26
26
27
27
gem . required_ruby_version = '>= 3.1'
28
28
29
- gem . add_dependency ( 'diff-lcs' , '~> 1.3 ' )
29
+ gem . add_dependency ( 'diff-lcs' , '~> 1.6 ' )
30
30
gem . add_dependency ( 'parser' , '>= 3.3.0' )
31
31
32
32
gem . add_development_dependency ( 'mutant' , '~> 0.12.2' )
You can’t perform that action at this time.
0 commit comments