mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
chore(apply-patch) additional scenarios (#8230)
## Summary More apply-patch scenarios ## Testing - [x] This pr only adds tests
This commit is contained in:
committed by
GitHub
Unverified
parent
5f8776d34d
commit
b1c93e135b
+1
@@ -0,0 +1 @@
|
||||
keep
|
||||
+1
@@ -0,0 +1 @@
|
||||
keep
|
||||
+1
@@ -0,0 +1 @@
|
||||
obsolete
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
*** Begin Patch
|
||||
*** Delete File: obsolete.txt
|
||||
*** End Patch
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
line1
|
||||
line3
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
line1
|
||||
line2
|
||||
line3
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
*** Begin Patch
|
||||
*** Update File: lines.txt
|
||||
@@
|
||||
line1
|
||||
-line2
|
||||
line3
|
||||
*** End Patch
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
first
|
||||
second updated
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
first
|
||||
second
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
*** Begin Patch
|
||||
*** Update File: tail.txt
|
||||
@@
|
||||
first
|
||||
-second
|
||||
+second updated
|
||||
*** End of File
|
||||
*** End Patch
|
||||
Reference in New Issue
Block a user