Fix tests

This commit is contained in:
Luccas Mateus de Medeiros Gomes 2021-11-03 09:19:28 -03:00
parent 5ae823612f
commit d3e5c5a342

View File

@ -61,13 +61,12 @@ fn operate(value: Value, head: Span) -> Value {
}
#[cfg(test)]
mod tests {
use super::ShellError;
use super::SubCommand;
mod test {
use super::*;
#[test]
fn examples_work_as_expected() -> Result<(), ShellError> {
use crate::examples::test as test_examples;
fn test_examples() {
use crate::test_examples;
test_examples(SubCommand {})
}