MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / git_shim_defaults_to_disabled

Function git_shim_defaults_to_disabled

atomic-config/src/lib.rs:1290–1297  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1288 /// CB-13C rollout gate: the shim is opt-in only and default-off.
1289 #[test]
1290 fn git_shim_defaults_to_disabled() {
1291 let config: RepoConfig = toml::from_str("").unwrap();
1292 assert!(!config.git.shim.enabled);
1293 assert_eq!(
1294 config.git.shim.default_enablement(),
1295 Err(DefaultEnablementRefusal::NotOptedIn)
1296 );
1297 }
1298
1299 /// An omitted policy is undecided; shim enablement is not a vault-policy choice.
1300 #[test]

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected