mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
replace and find-replace str plugin additions.
This commit is contained in:
parent
388ce738e3
commit
552272b37e
@ -131,7 +131,11 @@ fn find_and_replaces() {
|
||||
cwd: dirs.test(), h::pipeline(
|
||||
r#"
|
||||
open sample.toml
|
||||
<<<<<<< HEAD
|
||||
| str fortune.teller.phone --find-replace [KATZ "5289"]
|
||||
=======
|
||||
| str fortune.teller.phone --find-replace [KATZ 5289]
|
||||
>>>>>>> 8cedd2e... replace and find-replace str plugin additions.
|
||||
| get fortune.teller.phone
|
||||
| echo $it
|
||||
"#
|
||||
@ -157,7 +161,11 @@ fn find_and_replaces_without_passing_field() {
|
||||
r#"
|
||||
open sample.toml
|
||||
| get fortune.teller.phone
|
||||
<<<<<<< HEAD
|
||||
| str --find-replace [KATZ "5289"]
|
||||
=======
|
||||
| str --find-replace [KATZ 5289]
|
||||
>>>>>>> 8cedd2e... replace and find-replace str plugin additions.
|
||||
| echo $it
|
||||
"#
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user