diff options
author | Daniel Mueller <deso@posteo.net> | 2020-04-11 13:23:52 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-04-11 13:23:52 -0700 |
commit | fafbf4a1bf635d5eea049cf561fbf8aa293c8e2b (patch) | |
tree | d018a9e74d044e9161f436f2a5fd977022cf9599 /src/tests/mod.rs | |
parent | 93c605418568bf71bcc3be6956f07f9650b45fea (diff) | |
download | nitrocli-fafbf4a1bf635d5eea049cf561fbf8aa293c8e2b.tar.gz nitrocli-fafbf4a1bf635d5eea049cf561fbf8aa293c8e2b.tar.bz2 |
Merge remaining bits of args.rs into main.rs
This change removes the args module by moving all remaining
functionality in it into main.rs. The result is arguably a nice
consolidation of all context related definitions in a single module.
Diffstat (limited to 'src/tests/mod.rs')
-rw-r--r-- | src/tests/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/mod.rs b/src/tests/mod.rs index 1edf8f2..abf63e3 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -178,7 +178,7 @@ impl Nitrocli { /// Run `nitrocli`'s `handle_arguments` function. pub fn handle(&mut self, args: &[&str]) -> crate::Result<String> { - let (res, out, _) = self.do_run(args, |c, a| crate::args::handle_arguments(c, a)); + let (res, out, _) = self.do_run(args, |c, a| crate::handle_arguments(c, a)); res.map(|_| String::from_utf8_lossy(&out).into_owned()) } |