mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Updated to new PipeLineData and made the tests run
This commit is contained in:
@ -5,7 +5,7 @@ use nu_protocol::{
|
||||
PipelineData,
|
||||
};
|
||||
|
||||
use super::{From, Into, Split};
|
||||
use super::{From, Into, Split, Math};
|
||||
|
||||
pub fn test_examples(cmd: impl Command + 'static) {
|
||||
let examples = cmd.examples();
|
||||
@ -18,6 +18,7 @@ pub fn test_examples(cmd: impl Command + 'static) {
|
||||
working_set.add_decl(Box::new(From));
|
||||
working_set.add_decl(Box::new(Into));
|
||||
working_set.add_decl(Box::new(Split));
|
||||
working_set.add_decl(Box::new(Math));
|
||||
|
||||
// Adding the command that is being tested to the working set
|
||||
working_set.add_decl(Box::new(cmd));
|
||||
|
Reference in New Issue
Block a user