mod common; #[test] fn basic() { let name = "my-app"; let cmd = common::basic_command(name); common::assert_matches_path( "tests/snapshots/basic.nu", clap_complete_nushell::Nushell, cmd, name, ); } #[test] fn feature_sample() { let name = "my-app"; let cmd = common::feature_sample_command(name); common::assert_matches_path( "tests/snapshots/feature_sample.nu", clap_complete_nushell::Nushell, cmd, name, ); } #[test] fn sub_subcommands() { let name = "my-app"; let cmd = common::sub_subcommands_command(name); common::assert_matches_path( "tests/snapshots/sub_subcommands.nu", clap_complete_nushell::Nushell, cmd, name, ); }