diff --git a/src/protocol/tests/utils.rs b/src/protocol/tests/utils.rs index 5aecec7cd791e6f53e4aa3400d5b62cbb3f614d7..a30ad950705bd70ef81abb8446908270ed6d7b8a 100644 --- a/src/protocol/tests/utils.rs +++ b/src/protocol/tests/utils.rs @@ -624,9 +624,6 @@ impl<'a> FunctionTester<'a> { // Keeping this simple for now, will likely change pub(crate) fn call_err(self, expected_result: &str) -> Self { - use crate::protocol::*; - use crate::runtime::*; - let (_, result) = self.eval_until_end(); match result { Ok(_) => { @@ -652,7 +649,6 @@ impl<'a> FunctionTester<'a> { fn eval_until_end(&self) -> (Prompt, Result) { use crate::protocol::*; - use crate::runtime::*; let mut prompt = Prompt::new(&self.ctx.types, &self.ctx.heap, self.def.this.upcast(), 0, ValueGroup::new_stack(Vec::new())); let mut call_context = EvalContext::None;