replace and find-replace str plugin additions.

This commit is contained in:
Andrés N. Robalino 2019-11-26 19:03:22 -05:00 committed by Yehuda Katz
parent 388ce738e3
commit 552272b37e

View File

@ -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
"#
));