Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
use super::*;
#[test]
fn transport_does_not_change_repository_identity() {
let https = Repository::parse("https://github.com/macro-inc/macro.git").unwrap();
let ssh = Repository::parse("[email protected]:macro-inc/macro.git").unwrap();
assert_eq!(https.key, ssh.key);
assert_eq!(https.key, "github.com/macro-inc/macro");
}
#[test]
fn rejects_local_transports_credentials_and_options() {
for input in [
"/tmp/repo",
"file:///tmp/repo",
"ext::sh -c evil",
"--upload-pack=evil",
"https://[email protected]/a/b",
"https://github.com/a/b?x=y",
"ssh://[email protected]/a",
] {
assert!(Repository::parse(input).is_err(), "{input}");
}
}