mirror of
https://github.com/nushell/nushell.git
synced 2025-04-10 14:08:40 +02: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(
|
cwd: dirs.test(), h::pipeline(
|
||||||
r#"
|
r#"
|
||||||
open sample.toml
|
open sample.toml
|
||||||
|
<<<<<<< HEAD
|
||||||
| str fortune.teller.phone --find-replace [KATZ "5289"]
|
| 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
|
| get fortune.teller.phone
|
||||||
| echo $it
|
| echo $it
|
||||||
"#
|
"#
|
||||||
@ -157,7 +161,11 @@ fn find_and_replaces_without_passing_field() {
|
|||||||
r#"
|
r#"
|
||||||
open sample.toml
|
open sample.toml
|
||||||
| get fortune.teller.phone
|
| get fortune.teller.phone
|
||||||
|
<<<<<<< HEAD
|
||||||
| str --find-replace [KATZ "5289"]
|
| str --find-replace [KATZ "5289"]
|
||||||
|
=======
|
||||||
|
| str --find-replace [KATZ 5289]
|
||||||
|
>>>>>>> 8cedd2e... replace and find-replace str plugin additions.
|
||||||
| echo $it
|
| echo $it
|
||||||
"#
|
"#
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user