Skip to content

Commit f0daff1

Browse files
committed
Add test case: update.file.replace.whole
1 parent 4c7491a commit f0daff1

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class A:
2+
pass
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<no-train>
2+
```CEDARScript
3+
UPDATE FILE "1.py"
4+
REPLACE WHOLE
5+
WITH CONTENT '''
6+
@0:class B:
7+
@1:...
8+
'''
9+
```
10+
</no-train>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class B:
2+
...

0 commit comments

Comments
 (0)