upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/test_utils/src
diff options
context:
space:
mode:
Diffstat (limited to 'test_utils/src')
-rw-r--r--test_utils/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_utils/src/lib.rs b/test_utils/src/lib.rs
index d119bd7..f509039 100644
--- a/test_utils/src/lib.rs
+++ b/test_utils/src/lib.rs
@@ -735,6 +735,7 @@ where
735 S: AsRef<std::ffi::OsStr>, 735 S: AsRef<std::ffi::OsStr>,
736{ 736{
737 let mut cmd = std::process::Command::new(assert_cmd::cargo::cargo_bin("ngit")); 737 let mut cmd = std::process::Command::new(assert_cmd::cargo::cargo_bin("ngit"));
738 cmd.env("NGITTEST", "TRUE");
738 cmd.args(args); 739 cmd.args(args);
739 // using branch for PR https://github.com/rust-cli/rexpect/pull/103 to strip ansi escape codes 740 // using branch for PR https://github.com/rust-cli/rexpect/pull/103 to strip ansi escape codes
740 rexpect::session::spawn_with_options( 741 rexpect::session::spawn_with_options(
@@ -756,6 +757,7 @@ where
756 S: AsRef<std::ffi::OsStr>, 757 S: AsRef<std::ffi::OsStr>,
757{ 758{
758 let mut cmd = std::process::Command::new(assert_cmd::cargo::cargo_bin("ngit")); 759 let mut cmd = std::process::Command::new(assert_cmd::cargo::cargo_bin("ngit"));
760 cmd.env("NGITTEST", "TRUE");
759 cmd.current_dir(dir); 761 cmd.current_dir(dir);
760 cmd.args(args); 762 cmd.args(args);
761 // using branch for PR https://github.com/rust-cli/rexpect/pull/103 to strip ansi escape codes 763 // using branch for PR https://github.com/rust-cli/rexpect/pull/103 to strip ansi escape codes