Format implementation, fix on Echo

Now, Echo converts multiple values in a ValueStream, but it simply
forwards a single Value; if no PipelineData is detected as an input, an
empty string is returned as a single Value.
This commit is contained in:
Antonio Natilla
2021-11-03 19:46:33 +01:00
parent af5799c702
commit 806cd4851f
5 changed files with 215 additions and 63 deletions

View File

@ -24,6 +24,8 @@ pub fn test_examples(cmd: impl Command + 'static) {
working_set.add_decl(Box::new(Math));
working_set.add_decl(Box::new(Date));
use super::Echo;
working_set.add_decl(Box::new(Echo));
// Adding the command that is being tested to the working set
working_set.add_decl(Box::new(cmd));