update str find-replace to str replace (#5120)

This commit is contained in:
Darren Schroeder
2022-04-07 08:41:09 -05:00
committed by GitHub
parent 690ec9abfa
commit 4129f15eb9
10 changed files with 97 additions and 25 deletions

View File

@ -14,7 +14,7 @@ use crate::To;
#[cfg(test)]
use super::{
Ansi, Date, From, If, Into, Math, Path, Random, Split, SplitColumn, SplitRow, Str, StrCollect,
StrFindReplace, StrLength, Url, Wrap,
StrLength, StrReplace, Url, Wrap,
};
#[cfg(test)]
@ -31,7 +31,7 @@ pub fn test_examples(cmd: impl Command + 'static) {
working_set.add_decl(Box::new(Str));
working_set.add_decl(Box::new(StrCollect));
working_set.add_decl(Box::new(StrLength));
working_set.add_decl(Box::new(StrFindReplace));
working_set.add_decl(Box::new(StrReplace));
working_set.add_decl(Box::new(BuildString));
working_set.add_decl(Box::new(From));
working_set.add_decl(Box::new(If));