Skip to content

Commit

Permalink
Windows debugging via CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jneem committed Jan 28, 2025
1 parent 4fa4cd3 commit 0cf4b4c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package/tests/integration/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,12 @@ fn set_up_git_repos(config: &mut Config, git_dir: &TempDir) {
let dir_path = git_dir.path().join(file_name);

let run = |cmd: &mut Command| {
let output = cmd.output().unwrap();
assert!(
cmd.output().unwrap().status.success(),
"command {cmd:?} failed"
output.status.success(),
"command {cmd:?} failed, stdout {}, stderr {}",
String::from_utf8_lossy(&output.stdout)
String::from_utf8_lossy(&output.stderr)
);
};

Expand Down

0 comments on commit 0cf4b4c

Please sign in to comment.