Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Remove positive test
Lorenz Leutgeb committed 28 days ago
commit 95a35dc10cd6ad10144a172344b007ff4b7396ec
parent ab7ad8de948144f9f1d0be024177b9ed32d2879a
1 file changed +0 -35
modified crates/radicle-cli/tests/commands/sigpipe.rs
@@ -146,39 +146,4 @@ mod unix {
        }
    }

-
    mod normal_pipe {
-
        use std::process::Command;
-

-
        use radicle::profile;
-

-
        use crate::util::environment::Environment;
-

-
        /// `rad config` produces valid output when stdout is NOT a broken pipe.
-
        #[test]
-
        fn rad_config() {
-
            let mut environment = Environment::new();
-
            let profile = environment.profile("alice");
-

-
            let rad = env!("CARGO_BIN_EXE_rad");
-

-
            let output = Command::new(rad)
-
                .arg("config")
-
                .env("RAD_HOME", profile.home.path())
-
                .env(profile::env::RAD_PASSPHRASE, "radicle")
-
                .output()
-
                .expect("failed to run rad");
-

-
            assert!(
-
                output.status.success(),
-
                "rad config failed: {}",
-
                String::from_utf8_lossy(&output.stderr)
-
            );
-

-
            let stdout = String::from_utf8_lossy(&output.stdout);
-
            assert!(
-
                stdout.contains("\"alias\""),
-
                "rad config output should contain alias"
-
            );
-
        }
-
    }
}