mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 10:38:07 +02:00
Nushell internal commands. Anchor locations tracker surveying. (#2635)
This commit is contained in:
committed by
GitHub
parent
0adf2accdd
commit
ae1d4bdb4c
@ -194,12 +194,13 @@ async fn to_xml(args: CommandArgs, registry: &CommandRegistry) -> Result<OutputS
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::ShellError;
|
||||
use super::ToXML;
|
||||
|
||||
#[test]
|
||||
fn examples_work_as_expected() {
|
||||
fn examples_work_as_expected() -> Result<(), ShellError> {
|
||||
use crate::examples::test as test_examples;
|
||||
|
||||
test_examples(ToXML {})
|
||||
Ok(test_examples(ToXML {})?)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user