add: rewriter logic and tests
This commit is contained in:
5
src/testdata/testdst/hello.txt
vendored
Normal file
5
src/testdata/testdst/hello.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
This is a line
|
||||
This is abc line
|
||||
This is def line
|
||||
|
||||
This is another line
|
||||
4
src/testdata/testdst/recursive/world.txt
vendored
Normal file
4
src/testdata/testdst/recursive/world.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
This is a abc line.
|
||||
This is a def line.
|
||||
|
||||
In a nested directory.
|
||||
4
src/testdata/testsrc/hello.txt
vendored
Normal file
4
src/testdata/testsrc/hello.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
This is a line
|
||||
This is to_be_replaced line
|
||||
|
||||
This is another line
|
||||
3
src/testdata/testsrc/recursive/world.txt
vendored
Normal file
3
src/testdata/testsrc/recursive/world.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
This is a to_be_replaced line.
|
||||
|
||||
In a nested directory.
|
||||
Reference in New Issue
Block a user