Fix pass Git config and lazy OTP commits
This commit is contained in:
@@ -134,6 +134,10 @@ fn remotes_and_config_are_local_https_only() -> TestResult {
|
||||
git.config_set("user.name", "Local User")?;
|
||||
assert_eq!(git.config_get("user.name")?.as_deref(), Some("Local User"));
|
||||
assert!(git.config_set("credential.helper", "evil").is_err());
|
||||
assert!(
|
||||
git.config_set("diff.gpg.textconv", "external-helper")
|
||||
.is_err()
|
||||
);
|
||||
git.remove_remote("origin")?;
|
||||
assert!(git.remotes().is_empty());
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user