From fafbf4a1bf635d5eea049cf561fbf8aa293c8e2b Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 11 Apr 2020 13:23:52 -0700 Subject: 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. --- src/tests/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') 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 { - 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()) } -- cgit v1.2.3