diff options
Diffstat (limited to 'src/tests/status.rs')
-rw-r--r-- | src/tests/status.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/status.rs b/src/tests/status.rs index 0fd5b5b..d158103 100644 --- a/src/tests/status.rs +++ b/src/tests/status.rs @@ -39,7 +39,7 @@ $"#, ) .unwrap(); - let out = Nitrocli::with_model(model).handle(&["status"])?; + let out = Nitrocli::new().model(model).handle(&["status"])?; assert!(re.is_match(&out), out); Ok(()) } @@ -65,7 +65,7 @@ $"#, ) .unwrap(); - let out = Nitrocli::with_model(model).handle(&["status"])?; + let out = Nitrocli::new().model(model).handle(&["status"])?; assert!(re.is_match(&out), out); Ok(()) } |