mirror of
https://github.com/nushell/nushell
synced 2024-12-29 14:33:13 +00:00
Fix tests
This commit is contained in:
parent
5ae823612f
commit
d3e5c5a342
1 changed files with 4 additions and 5 deletions
|
@ -61,13 +61,12 @@ fn operate(value: Value, head: Span) -> Value {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod test {
|
||||||
use super::ShellError;
|
use super::*;
|
||||||
use super::SubCommand;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn examples_work_as_expected() -> Result<(), ShellError> {
|
fn test_examples() {
|
||||||
use crate::examples::test as test_examples;
|
use crate::test_examples;
|
||||||
|
|
||||||
test_examples(SubCommand {})
|
test_examples(SubCommand {})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue