Skip to content

Commit 2e9c414

Browse files
committed
Better test
1 parent a3fd4a4 commit 2e9c414

File tree

3 files changed

+5
-33
lines changed

3 files changed

+5
-33
lines changed
Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
11
class A:
2-
def a(self):
2+
def _(self):
33
pass
44
def calculate(self,
55
a,
6-
b,
7-
c,
8-
d,
9-
e
10-
):
11-
pass
12-
class B:
13-
def a(self):
14-
pass
15-
def calculate(self,
16-
a,
17-
b,
18-
c,
19-
d,
20-
e
6+
b
217
):
228
pass

tests/corpus/update.identifier.replace.segment.2/chat.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<no-train>
22
```CEDARScript
3-
UPDATE METHOD "calculate" OFFSET 1
3+
UPDATE METHOD "calculate"
44
FROM FILE "1.py"
55
REPLACE SEGMENT
66
STARTING AFTER LINE 0
Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
11
class A:
2-
def a(self):
3-
pass
4-
def calculate(self,
5-
a,
6-
b,
7-
c,
8-
d,
9-
e
10-
):
11-
pass
12-
class B:
13-
def a(self):
2+
def _(self):
143
pass
154
def calculate(self, line_1,
165
line_2,
176
a,
18-
b,
19-
c,
20-
d,
21-
e
7+
b
228
):
239
pass

0 commit comments

Comments
 (0)