Skip to content

Commit 3e4b3c2

Browse files
committed
debug
1 parent c0a8996 commit 3e4b3c2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

git2-hooks/src/lib.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,12 @@ exit 1
442442
unreachable!()
443443
};
444444

445-
assert!(stdout
446-
.lines()
447-
.any(|line| line.starts_with("export PATH")));
445+
assert!(
446+
stdout
447+
.lines()
448+
.any(|line| line.starts_with("export PATH")),
449+
"{stdout:?}"
450+
);
448451
}
449452

450453
#[test]
@@ -510,7 +513,7 @@ sys.exit(0)
510513

511514
create_hook(&repo, HOOK_PRE_COMMIT, hook);
512515
let res = hooks_pre_commit(&repo, None).unwrap();
513-
assert!(res.is_ok());
516+
assert!(res.is_ok(), "{res:?}");
514517
}
515518

516519
#[test]

0 commit comments

Comments
 (0)