We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a8996 commit 3e4b3c2Copy full SHA for 3e4b3c2
git2-hooks/src/lib.rs
@@ -442,9 +442,12 @@ exit 1
442
unreachable!()
443
};
444
445
- assert!(stdout
446
- .lines()
447
- .any(|line| line.starts_with("export PATH")));
+ assert!(
+ stdout
+ .lines()
448
+ .any(|line| line.starts_with("export PATH")),
449
+ "{stdout:?}"
450
+ );
451
}
452
453
#[test]
@@ -510,7 +513,7 @@ sys.exit(0)
510
513
511
514
create_hook(&repo, HOOK_PRE_COMMIT, hook);
512
515
let res = hooks_pre_commit(&repo, None).unwrap();
- assert!(res.is_ok());
516
+ assert!(res.is_ok(), "{res:?}");
517
518
519
0 commit comments